summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/exchange/taler-exchange-httpd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 45935f172..8ee33c64b 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -791,7 +791,9 @@ main (int argc,
fh = -1;
}
flags |= FD_CLOEXEC;
- fcntl (fh, F_SETFD, flags);
+ if (0 != fcntl (fh, F_SETFD, flags))
+ GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR,
+ "fcntl");
}
/* consider unix path */