diff options
author | Adam Baratz <adambaratz@php.net> | 2016-10-31 12:39:22 -0400 |
---|---|---|
committer | Adam Baratz <adambaratz@php.net> | 2016-10-31 12:39:22 -0400 |
commit | 69b776ec106dbab36e3e2317ece6c4fe6f353175 (patch) | |
tree | 3ebf47a337cd1b184a6e8f8b9fe2f70b4ac3ad47 | |
parent | 27dea1582fd263cba8ad32596783e18f2e195b49 (diff) | |
download | php-git-69b776ec106dbab36e3e2317ece6c4fe6f353175.tar.gz |
Fix comment style
-rw-r--r-- | ext/pdo_dblib/dblib_stmt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c index 18e9ab65c1..4354f1fa8f 100644 --- a/ext/pdo_dblib/dblib_stmt.c +++ b/ext/pdo_dblib/dblib_stmt.c @@ -394,7 +394,8 @@ static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, } case SQLUNIQUE: { - if (H->stringify_uniqueidentifier) { // 36-char hex string representation + if (H->stringify_uniqueidentifier) { + /* 36-char hex string representation */ tmp_data_len = 36; tmp_data = safe_emalloc(tmp_data_len, sizeof(char), 1); data_len = (unsigned int) dbconvert(NULL, SQLUNIQUE, (BYTE*)data, data_len, SQLCHAR, (BYTE*)tmp_data, tmp_data_len); @@ -403,7 +404,8 @@ static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, ZVAL_STRINGL(zv, tmp_data, data_len); efree(tmp_data); - } else { // a 16-byte binary representation + } else { + /* 16-byte binary representation */ zv = emalloc(sizeof(zval)); ZVAL_STRINGL(zv, data, 16); } |