com php-src: Fix comment style: ext/pdo_dblib/dblib_stmt. c
| From: | Adam Baratz | Date: | Mon, 31 Oct 2016 16:39:22 +0000 |
| Subject: | com php-src: Fix comment style: ext/pdo_dblib/dblib_stmt. c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95365@lists.php.net to get a copy of this message | ||
Commit: 69b776ec106dbab36e3e2317ece6c4fe6f353175
Author: Adam Baratz <adambaratz@php.net> Mon, 31 Oct 2016 12:39:22 -0400
Parents: 27dea1582fd263cba8ad32596783e18f2e195b49
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=69b776ec106dbab36e3e2317ece6c4fe6f353175
Log:
Fix comment style
Changed paths:
M ext/pdo_dblib/dblib_stmt.c
Diff:
diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c
index 18e9ab6..4354f1f 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);
}