aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-19 22:31:43 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-19 22:31:43 +0100
commitbb36d40132ee995f437e125b770036e20ee210de (patch)
tree46b586be7641ca1f49cdf8dd0369815e15f327b4
parente5b92f8b5effeb0e3c6f42de3776870bfc1bd0b9 (diff)
named constants please
-rw-r--r--src/exchange/taler-exchange-httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index e2d3680c4..cc1af224b 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -634,7 +634,7 @@ run_fake_client ()
if (0 == strcmp (input_filename,
"-"))
- fd = 0;
+ fd = STDIN_FILENO;
else
fd = open (input_filename, O_RDONLY);
if (-1 == fd)