diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-12-17 17:18:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-12-17 17:18:01 +0000 |
commit | 3e4d24eb5fd19e6af705144335129f41e60822ac (patch) | |
tree | 4d5664b95126cd17d704f347d754dec4da3c908c /src/hostlist | |
parent | 19b03a205ed83f6a1d4d9178b20969032d569212 (diff) | |
download | gnunet-3e4d24eb5fd19e6af705144335129f41e60822ac.tar.gz gnunet-3e4d24eb5fd19e6af705144335129f41e60822ac.zip |
fix
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/hostlist-client.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index 109a38dbc..4797a5544 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c | |||
@@ -1417,8 +1417,8 @@ static void save_hostlist_file ( int shutdown ) | |||
1417 | "HOSTLISTFILE", "HOSTLIST"); | 1417 | "HOSTLISTFILE", "HOSTLIST"); |
1418 | return; | 1418 | return; |
1419 | } | 1419 | } |
1420 | if (GNUNET_SYSERR != GNUNET_DISK_directory_create_for_file (filename)) | 1420 | if (GNUNET_SYSERR == GNUNET_DISK_directory_create_for_file (filename)) |
1421 | { | 1421 | return; |
1422 | wh = GNUNET_BIO_write_open (filename); | 1422 | wh = GNUNET_BIO_write_open (filename); |
1423 | if ( NULL == wh) | 1423 | if ( NULL == wh) |
1424 | { | 1424 | { |
@@ -1432,7 +1432,6 @@ static void save_hostlist_file ( int shutdown ) | |||
1432 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1432 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1433 | _("Writing %u hostlist URIs to `%s'\n" ), | 1433 | _("Writing %u hostlist URIs to `%s'\n" ), |
1434 | linked_list_size, filename); | 1434 | linked_list_size, filename); |
1435 | } | ||
1436 | /* add code to write hostlists to file using bio */ | 1435 | /* add code to write hostlists to file using bio */ |
1437 | ok = GNUNET_YES; | 1436 | ok = GNUNET_YES; |
1438 | counter = 0; | 1437 | counter = 0; |