diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/exchange/taler-exchange-httpd.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 45935f17..8ee33c64 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 */  | 
