Fix spacing

This commit is contained in:
yitam 2017-02-28 10:08:46 -08:00
parent 26c5f1785f
commit 357bc95c1e

View file

@ -2007,11 +2007,11 @@ void finalize_output_parameters( sqlsrv_stmt* stmt TSRMLS_DC )
// adjust the length of the string to the value returned by SQLBindParameter in the ind_ptr parameter
char* str = Z_STRVAL_P( value_z );
SQLLEN str_len = stmt->param_ind_ptrs[ output_param->param_num ];
if (str_len == 0) {
str[str_len] = '\0';
core::sqlsrv_zval_stringl( value_z, str, str_len );
continue;
}
if( str_len == 0 ) {
str[str_len] = '\0';
core::sqlsrv_zval_stringl( value_z, str, str_len );
continue;
}
if( str_len == SQL_NULL_DATA ) {
zend_string_release( Z_STR_P( value_z ));
ZVAL_NULL( value_z );