diff options
author | Stefan Esser <sesser@php.net> | 2002-12-10 20:18:25 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2002-12-10 20:18:25 +0000 |
commit | e5dbcb0890d1b8d81adde47f57b05fb3103bda1a (patch) | |
tree | 62afd87ad36f9587f7d87ccacaaba5aef7729c5b /ext/sybase/php_sybase_db.c | |
parent | 60a5aeef437893ad35ec1a16de46565f36b7038f (diff) | |
download | php-git-e5dbcb0890d1b8d81adde47f57b05fb3103bda1a.tar.gz |
fixing cut&paste bug
Diffstat (limited to 'ext/sybase/php_sybase_db.c')
-rw-r--r-- | ext/sybase/php_sybase_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sybase/php_sybase_db.c b/ext/sybase/php_sybase_db.c index d7c908cdfa..b6db930522 100644 --- a/ext/sybase/php_sybase_db.c +++ b/ext/sybase/php_sybase_db.c @@ -743,7 +743,7 @@ static void php_sybase_get_column_content(sybase_link *sybase_ptr,int offset,pva 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; |