From 16fca3835b569ed8427d786e3cdb95dc01ceb342 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 13 Dec 2013 15:47:56 +0000 Subject: -fix off-by-one so we can also select on FD 0 (stdin) --- src/util/configuration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/configuration.c') 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, return GNUNET_SYSERR; dirty = cfg->dirty; /* back up value! */ if (GNUNET_SYSERR == - GNUNET_DISK_file_size (fn, &fs64, GNUNET_YES, GNUNET_YES)) + GNUNET_DISK_file_size (fn, &fs64, GNUNET_YES, GNUNET_YES)) { LOG (GNUNET_ERROR_TYPE_WARNING, "Error while determining the file size of %s\n", fn); -- cgit v1.2.3