From 719ecf18e85f7214d0658033b38338fac6820a65 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 1 Sep 2014 19:21:33 +0900 Subject: [PATCH] evas cserve2 - check return of fcntl fix CID 1039707 --- src/bin/evas/evas_cserve2_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/evas/evas_cserve2_debug.c b/src/bin/evas/evas_cserve2_debug.c index 9534fd6202..7f879ddb79 100644 --- a/src/bin/evas/evas_cserve2_debug.c +++ b/src/bin/evas/evas_cserve2_debug.c @@ -79,7 +79,7 @@ _server_connect(void) return EINA_FALSE; } - fcntl(s, F_SETFL, O_NONBLOCK); + if (fcntl(s, F_SETFL, O_NONBLOCK) < 0) ERR("fcntl failed"); socketfd = s; -- 2.34.1