sesser Tue Dec 10 15:18:24 2002 EDT Modified files: /php4/ext/sybase php_sybase_db.c Log: fixing cut&paste bug Index: php4/ext/sybase/php_sybase_db.c diff -u php4/ext/sybase/php_sybase_db.c:1.39 php4/ext/sybase/php_sybase_db.c:1.40 --- php4/ext/sybase/php_sybase_db.c:1.39 Tue Dec 10 10:18:00 2002 +++ php4/ext/sybase/php_sybase_db.c Tue Dec 10 15:18:24 2002 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_sybase_db.c,v 1.39 2002/12/10 15:18:00 sesser Exp $ */ +/* $Id: php_sybase_db.c,v 1.40 2002/12/10 20:18:24 sesser Exp $ */ #ifdef HAVE_CONFIG_H @@ -743,7 +743,7 @@ memset(res_buf,' ',res_length+1); /* XXX i'm sure there's a better way but i don't have sybase here to test 991105 [EMAIL PROTECTED] */ - dbconvert(NULL,coltype(offset),dbdata(sybase_ptr->link,offset), res_length,SYBCHAR,res_buf,res_length); + +dbconvert(NULL,coltype(offset),dbdata(sybase_ptr->link,offset), +src_length,SYBCHAR,res_buf,res_length); /* get rid of trailing spaces */ p = res_buf + res_length;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php