diff options
author | Stanley Sufficool <ssufficool@php.net> | 2010-06-28 00:15:18 +0000 |
---|---|---|
committer | Stanley Sufficool <ssufficool@php.net> | 2010-06-28 00:15:18 +0000 |
commit | 3e12c6174d29d5e873211d189dbeda5a570c5954 (patch) | |
tree | 39cb0dda35faef257473a05dd302952a0d8fea97 /ext/pdo_dblib | |
parent | 22e2302e787e9b876f87effd21ff36c41e77d707 (diff) | |
download | php-git-3e12c6174d29d5e873211d189dbeda5a570c5954.tar.gz |
Fix bad string length
Diffstat (limited to 'ext/pdo_dblib')
-rw-r--r-- | ext/pdo_dblib/dblib_stmt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c index 4d2d165842..da45dfc916 100644 --- a/ext/pdo_dblib/dblib_stmt.c +++ b/ext/pdo_dblib/dblib_stmt.c @@ -230,7 +230,6 @@ static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, memcpy(tmp_ptr, *ptr, *len); tmp_ptr[*len] = '\0'; *ptr = tmp_ptr; - ++(*len); break; case SQLMONEY: case SQLMONEY4: |