cvs: php4 /ext/sybase php_sybase_db.c
| From: | Stefan Esser | Date: | Tue, 10 Dec 2002 20:18:24 +0000 |
| Subject: | cvs: php4 /ext/sybase php_sybase_db.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17083@lists.php.net to get a copy of this message | ||
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 thies@thieso.net */
- 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;