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

index 72232107738dba4ec83eb94bea21038fe43379ce..b5f8ae8b53bd7276fa4ebe4b7b20795486845c44 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);