]> granicus.if.org Git - php/commitdiff
Be consistent across all cases.
authorJoey Smith <joey@php.net>
Fri, 6 Jul 2001 01:21:55 +0000 (01:21 +0000)
committerJoey Smith <joey@php.net>
Fri, 6 Jul 2001 01:21:55 +0000 (01:21 +0000)
ext/sybase_ct/php_sybase_ct.c

index d083a24502cf8837d9964e52e30cd6fc3d97a233..f0a01dd932fd29823589044c1f51e28f07c89cad 100644 (file)
@@ -459,9 +459,9 @@ static void php_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
        switch(ZEND_NUM_ARGS()) {
                case 0: /* defaults */
                        host=user=passwd=charset=NULL;
-                       hashed_details_length=6+3;
+                       hashed_details_length=6+4;
                        hashed_details = (char *) emalloc(hashed_details_length+1);
-                       strcpy(hashed_details, "sybase___");
+                       strcpy(hashed_details, "sybase____");
                        break;
                case 1: {
                                pval *yyhost;