@@ -2532,7 +2532,7 @@ static bool php_phongo_extract_handshake_data(zval* driver, const char* key, cha
2532
2532
zval * zvalue ;
2533
2533
2534
2534
if (!php_array_exists (driver , key )) {
2535
- * value = NULL ;
2535
+ * value = NULL ;
2536
2536
* value_len = 0 ;
2537
2537
2538
2538
return true;
@@ -2553,7 +2553,7 @@ static bool php_phongo_extract_handshake_data(zval* driver, const char* key, cha
2553
2553
2554
2554
static char * php_phongo_concat_handshake_data (const char * default_value , const char * custom_value , size_t custom_value_len )
2555
2555
{
2556
- char * ret ;
2556
+ char * ret ;
2557
2557
/* Length of the returned value needs to include the trailing null byte */
2558
2558
size_t ret_len = strlen (default_value ) + 1 ;
2559
2559
@@ -2582,7 +2582,7 @@ static void php_phongo_handshake_data_append(const char* name, size_t name_len,
2582
2582
char * full_platform ;
2583
2583
2584
2584
php_version_string_len = strlen (PHP_VERSION );
2585
- php_version_string = ecalloc (sizeof (char * ), 4 + php_version_string_len );
2585
+ php_version_string = ecalloc (sizeof (char * ), 4 + php_version_string_len );
2586
2586
snprintf (php_version_string , 4 + php_version_string_len , "PHP %s" , PHP_VERSION );
2587
2587
2588
2588
driver_name = php_phongo_concat_handshake_data ("ext-mongodb:PHP" , name , name_len );
@@ -2613,7 +2613,7 @@ static void php_phongo_set_handshake_data(zval* driverOptions)
2613
2613
size_t platform_len = 0 ;
2614
2614
2615
2615
if (driverOptions && php_array_existsc (driverOptions , "driver" )) {
2616
- zval * driver = php_array_fetchc (driverOptions , "driver" );
2616
+ zval * driver = php_array_fetchc (driverOptions , "driver" );
2617
2617
2618
2618
if (Z_TYPE_P (driver ) != IS_ARRAY ) {
2619
2619
phongo_throw_exception (PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC , "Expected \"driver\" driver option to be an array, %s given" , PHONGO_ZVAL_CLASS_OR_TYPE_NAME_P (driver ));
@@ -3519,7 +3519,7 @@ static zend_class_entry* php_phongo_fetch_internal_class(const char* class_name,
3519
3519
static HashTable * php_phongo_std_get_gc (zval * object , zval * * table , int * n ) /* {{{ */
3520
3520
{
3521
3521
* table = NULL ;
3522
- * n = 0 ;
3522
+ * n = 0 ;
3523
3523
return zend_std_get_properties (object );
3524
3524
} /* }}} */
3525
3525
0 commit comments