summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_main_loop_linux.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 15:04:04 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 15:04:04 +0900
commitc71d2c7d83b38eaa7fb85893efda8c715ae4de55 (patch)
treeb4eff61a5c6dbd8f5d2322076ae06842e9b425aa /src/bin/evas/evas_cserve2_main_loop_linux.c
parent9825a16a265fb8514f19bb5390a4ba1599d75d75 (diff)
evas cserve2 - fix check of fcntl return
fix CID 1039706
Diffstat (limited to 'src/bin/evas/evas_cserve2_main_loop_linux.c')
-rw-r--r--src/bin/evas/evas_cserve2_main_loop_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/evas/evas_cserve2_main_loop_linux.c b/src/bin/evas/evas_cserve2_main_loop_linux.c
index 7f176184ee..e213cc476c 100644
--- a/src/bin/evas/evas_cserve2_main_loop_linux.c
+++ b/src/bin/evas/evas_cserve2_main_loop_linux.c
@@ -216,7 +216,7 @@ _socketfd_handler(int fd EINA_UNUSED, Fd_Flags flags EINA_UNUSED, void *data EIN
216 /* TODO: when porting to windows, do: 216 /* TODO: when porting to windows, do:
217 * SetHandleInformation(s, HANDLE_FLAG_INHERIT, 0) 217 * SetHandleInformation(s, HANDLE_FLAG_INHERIT, 0)
218 */ 218 */
219 fcntl(s, F_SETFD, FD_CLOEXEC); 219 if (fcntl(s, F_SETFD, FD_CLOEXEC) < 0) ERR("Cannot set CLOEXEC on fd");
220 220
221 cserve2_client_accept(s); 221 cserve2_client_accept(s);
222} 222}