summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/dblib_stmt.c
diff options
context:
space:
mode:
authorStanley Sufficool <ssufficool@php.net>2010-06-28 00:15:18 (GMT)
committerStanley Sufficool <ssufficool@php.net>2010-06-28 00:15:18 (GMT)
commit3e12c6174d29d5e873211d189dbeda5a570c5954 (patch)
tree39cb0dda35faef257473a05dd302952a0d8fea97 /ext/pdo_dblib/dblib_stmt.c
parent22e2302e787e9b876f87effd21ff36c41e77d707 (diff)
downloadphp-3e12c6174d29d5e873211d189dbeda5a570c5954.tar.gz
Fix bad string length
Diffstat (limited to 'ext/pdo_dblib/dblib_stmt.c')
-rw-r--r--ext/pdo_dblib/dblib_stmt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c
index 4d2d165..da45dfc 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: