tolerate it if blocks already exist
authorChristian Grothoff <christian@grothoff.org>
Wed, 27 Apr 2011 19:02:10 +0000 (19:02 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 27 Apr 2011 19:02:10 +0000 (19:02 +0000)
src/fs/fs_publish.c

index 36efb27f67b1ab1f5363e818ad782f06669a015f..26d21bb0edef68ea1bf7eb3a418c4511e1de1898 100644 (file)
@@ -162,7 +162,7 @@ ds_put_cont (void *cls,
     }
   GNUNET_assert (GNUNET_YES == pcc->sc->in_network_wait);
   pcc->sc->in_network_wait = GNUNET_NO;
-  if (GNUNET_OK != success)
+  if (GNUNET_SYSERR == success)
     {
       GNUNET_asprintf (&pcc->p->emsg, 
                       _("Publishing failed: %s"),