sesser Tue Dec 10 15:19:11 2002 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/sybase php_sybase_db.c
Log:
MFH
Index: php4/ext/sybase/php_sybase_db.c
diff -u php4/ext/sybase/php_sybase_db.c:1.38.2.1
php4/ext/sybase/php_sybase_db.c:1.38.2.2
--- php4/ext/sybase/php_sybase_db.c:1.38.2.1 Tue Dec 10 10:41:38 2002
+++ php4/ext/sybase/php_sybase_db.c Tue Dec 10 15:19:11 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_sybase_db.c,v 1.38.2.1 2002/12/10 15:41:38 sesser Exp $ */
+/* $Id: php_sybase_db.c,v 1.38.2.2 2002/12/10 20:19:11 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