com php-src: remove misprint parentheses: TSRM/tsrm_win32 .c
| From: | Anatol Belski | Date: | Fri, 03 Oct 2014 17:23:32 +0000 |
| Subject: | com php-src: remove misprint parentheses: TSRM/tsrm_win32 .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82072@lists.php.net to get a copy of this message | ||
Commit: 55c6737b7374b308f1636ddff3a7914f440ce3ac
Author: Anatol Belski <ab@php.net> Thu, 2 Oct 2014 13:48:26 +0200
Parents: bd9a234645772a4f3116b3c4f1d5a83efb158d80
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=55c6737b7374b308f1636ddff3a7914f440ce3ac
Log:
remove misprint parentheses
Changed paths:
M TSRM/tsrm_win32.c
Diff:
diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c
index b6ac423..faa186a 100644
--- a/TSRM/tsrm_win32..c
+++ b/TSRM/tsrm_win32.c
@@ -605,13 +605,13 @@ TSRM_API int shmget(int key, int size, int flags)
shm_handle = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, shm_segment);
info_handle = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, shm_info);
- if ((!shm_handle && !info_handle)) {
+ if (!shm_handle && !info_handle) {
if (flags & IPC_CREAT) {
shm_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, size,
shm_segment);
info_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0,
sizeof(shm->descriptor), shm_info);
created = TRUE;
}
- if ((!shm_handle || !info_handle)) {
+ if (!shm_handle || !info_handle) {
return -1;
}
} else {