]> granicus.if.org Git - php/commitdiff
MFH
authorIlia Alshanetsky <iliaa@php.net>
Sat, 25 Jan 2003 18:55:40 +0000 (18:55 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sat, 25 Jan 2003 18:55:40 +0000 (18:55 +0000)
ext/informix/ifx.ec

index 92ee9e5dfa054019c8bea8f268a603e9ffceff0f..ae20702e3221dbdd97e242f44d562b36f5155a04 100644 (file)
@@ -449,16 +449,6 @@ EXEC SQL END DECLARE SECTION;
                        return;
                }
 
-               if (!host) {
-                       host = "";
-               }
-               if (!user) {
-                       user = "";
-               }
-               if (!passwd) {
-                       passwd = "";
-               }
-
                hashed_details_length = sizeof("ifx___") - 1 + host_len + user_len + passwd_len;
                hashed_details = (char *) emalloc(hashed_details_length+1);
                sprintf(hashed_details,"ifx_%s_%s_%s", host, user, passwd);