diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-10 18:41:46 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-10 18:41:46 +0100 |
commit | 81fff5fce44190dd49bf17677e7710ed9d4cc7b6 (patch) | |
tree | bc5f8c48f45a096a446abda761ec54cfee273ab5 /src/fs | |
parent | efd3fc1387bb96d54856810bbdcd3057fefaa296 (diff) | |
download | gnunet-81fff5fce44190dd49bf17677e7710ed9d4cc7b6.tar.gz gnunet-81fff5fce44190dd49bf17677e7710ed9d4cc7b6.zip |
fix use of uninitialized value host1 on error logging
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/gnunet-helper-fs-publish.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c index 55836e772..72a656de1 100644 --- a/src/fs/gnunet-helper-fs-publish.c +++ b/src/fs/gnunet-helper-fs-publish.c | |||
@@ -480,7 +480,7 @@ make_dev_zero (int fd, | |||
480 | GNUNET_assert (-1 != z); | 480 | GNUNET_assert (-1 != z); |
481 | if (z == fd) | 481 | if (z == fd) |
482 | return; | 482 | return; |
483 | dup2 (z, fd); | 483 | GNUNET_break (fd == dup2 (z, fd)); |
484 | GNUNET_assert (0 == close (z)); | 484 | GNUNET_assert (0 == close (z)); |
485 | } | 485 | } |
486 | 486 | ||