diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-12-21 20:49:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-12-21 20:49:34 +0000 |
commit | 679f76b6fcdddb746b7cbd37150d4893c0b5cf36 (patch) | |
tree | e693371bf0e8a8a31ffdb3979ad92d00caa79733 /src/peerinfo | |
parent | b84021702a5ad8b8930764c42e6721d6cf0168b2 (diff) | |
download | gnunet-679f76b6fcdddb746b7cbd37150d4893c0b5cf36.tar.gz gnunet-679f76b6fcdddb746b7cbd37150d4893c0b5cf36.zip |
fix
Diffstat (limited to 'src/peerinfo')
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c index 6031c99af..4dd33dd5a 100644 --- a/src/peerinfo/gnunet-service-peerinfo.c +++ b/src/peerinfo/gnunet-service-peerinfo.c | |||
@@ -362,7 +362,7 @@ bind_address (const struct GNUNET_PeerIdentity *peer, | |||
362 | fn = get_host_filename (peer); | 362 | fn = get_host_filename (peer); |
363 | if (GNUNET_OK == GNUNET_DISK_directory_create_for_file (fn)) | 363 | if (GNUNET_OK == GNUNET_DISK_directory_create_for_file (fn)) |
364 | { | 364 | { |
365 | if (GNUNET_OK != | 365 | if (GNUNET_SYSERR == |
366 | GNUNET_DISK_fn_write (fn, | 366 | GNUNET_DISK_fn_write (fn, |
367 | host->hello, | 367 | host->hello, |
368 | GNUNET_HELLO_size (host->hello), | 368 | GNUNET_HELLO_size (host->hello), |