exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 7680ebcbe1de0c03f1082f5576d2d14ed9edaa40
parent 06fe1d34f3c56650204f751b44b2f19fcec892ac
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  2 Jun 2016 09:36:24 +0200

check fcntl() return value

Diffstat:
Msrc/exchange/taler-exchange-httpd.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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 */