fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 21 Dec 2010 20:49:34 +0000 (20:49 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 21 Dec 2010 20:49:34 +0000 (20:49 +0000)
src/peerinfo/gnunet-service-peerinfo.c

index 6031c99af4d4eb783513b4e8fd8bff8360f1ac42..4dd33dd5a2e213f1c600592bf19ab506d6f9fbb5 100644 (file)
@@ -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),