Skip to content

Commit f35f5f5

Browse files
author
Derick Rethans
committed
- Whitespace fixes
1 parent da56457 commit f35f5f5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

TSRM/tsrm_win32.c

+6-5
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,12 @@ TSRM_API void tsrm_win32_shutdown(void)
8484
TSRM_API int tsrm_win32_access(const char *pathname, int mode)
8585
{
8686
SHFILEINFO sfi;
87-
if (mode == 1 /*X_OK*/)
88-
return access(pathname, 0)==0 &&
89-
SHGetFileInfo(pathname,0,&sfi,sizeof(SHFILEINFO),SHGFI_EXETYPE)!=0?0:-1;
90-
else
87+
if (mode == 1 /*X_OK*/) {
88+
return access(pathname, 0) == 0 &&
89+
SHGetFileInfo(pathname, 0, &sfi, sizeof(SHFILEINFO), SHGFI_EXETYPE) != 0 ? 0 : -1;
90+
} else {
9191
return access(pathname, mode);
92+
}
9293
}
9394

9495

@@ -370,4 +371,4 @@ TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) {
370371
return -1;
371372
}
372373
}
373-
#endif
374+
#endif

ext/mssql/php_mssql.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,7 @@ static void php_mssql_init_globals(zend_mssql_globals *mssql_globals)
275275
} else {
276276
mssql_globals->get_column_content = php_mssql_get_column_content_with_type;
277277
}
278-
}
279-
else {
278+
} else {
280279
mssql_globals->get_column_content = php_mssql_get_column_content_with_type;
281280
}
282281
}

0 commit comments

Comments
 (0)