aboutsummaryrefslogtreecommitdiff
path: root/src/util/configuration.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-13 15:47:56 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-13 15:47:56 +0000
commit16fca3835b569ed8427d786e3cdb95dc01ceb342 (patch)
treeb25aa6f30ec5d936da5bb48307f087c08a6a0772 /src/util/configuration.c
parent3ec976177fd1a437f0a1a2411eef3620f619c8e3 (diff)
downloadgnunet-16fca3835b569ed8427d786e3cdb95dc01ceb342.tar.gz
gnunet-16fca3835b569ed8427d786e3cdb95dc01ceb342.zip
-fix off-by-one so we can also select on FD 0 (stdin)
Diffstat (limited to 'src/util/configuration.c')
-rw-r--r--src/util/configuration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/configuration.c b/src/util/configuration.c
index c69b933a3..ca27b5aef 100644
--- a/src/util/configuration.c
+++ b/src/util/configuration.c
@@ -328,7 +328,7 @@ GNUNET_CONFIGURATION_parse (struct GNUNET_CONFIGURATION_Handle *cfg,
328 return GNUNET_SYSERR; 328 return GNUNET_SYSERR;
329 dirty = cfg->dirty; /* back up value! */ 329 dirty = cfg->dirty; /* back up value! */
330 if (GNUNET_SYSERR == 330 if (GNUNET_SYSERR ==
331 GNUNET_DISK_file_size (fn, &fs64, GNUNET_YES, GNUNET_YES)) 331 GNUNET_DISK_file_size (fn, &fs64, GNUNET_YES, GNUNET_YES))
332 { 332 {
333 LOG (GNUNET_ERROR_TYPE_WARNING, 333 LOG (GNUNET_ERROR_TYPE_WARNING,
334 "Error while determining the file size of %s\n", fn); 334 "Error while determining the file size of %s\n", fn);