[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    [PHP-CVS] com php-src: Fix comment style: =?UTF-8?Q?ext/pdo=5Fdblib/dblib=5Fstmt=2E?= =?UTF-8?Q?c?=
From:       Adam Baratz <adambaratz () php ! net>
Date:       2016-10-31 16:39:22
Message-ID: php-mail-9d838182c584cf4919da1507e73c81ff420546783 () git ! php ! net
[Download RAW message or body]

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);
 					}


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic