-handle error codes from unindex
authorChristian Grothoff <christian@grothoff.org>
Sun, 18 Dec 2011 16:39:02 +0000 (16:39 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 18 Dec 2011 16:39:02 +0000 (16:39 +0000)
src/fs/gnunet-publish.c

index 8c38c8ebd8de2fd3873bd0f813f3f6d5101ac3d2..59a86e9b708d8ee2942175e34bd9ee65367438bd 100644 (file)
@@ -154,6 +154,10 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info)
   case GNUNET_FS_STATUS_PUBLISH_STOPPED:
     GNUNET_break (NULL == pc);
     return NULL;
+  case GNUNET_FS_STATUS_UNINDEX_PROGRESS:
+    return NULL;
+  case GNUNET_FS_STATUS_UNINDEX_COMPLETED:
+    fprintf (stderr, _("Cleanup after abort complete.\n"));
   default:
     fprintf (stderr, _("Unexpected status: %d\n"), info->status);
     return NULL;