From 679f76b6fcdddb746b7cbd37150d4893c0b5cf36 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 21 Dec 2010 20:49:34 +0000 Subject: [PATCH] fix --- src/peerinfo/gnunet-service-peerinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, fn = get_host_filename (peer); if (GNUNET_OK == GNUNET_DISK_directory_create_for_file (fn)) { - if (GNUNET_OK != + if (GNUNET_SYSERR == GNUNET_DISK_fn_write (fn, host->hello, GNUNET_HELLO_size (host->hello), -- 2.25.1