aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-18 16:39:02 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-18 16:39:02 +0000
commit206876a5f1f3cae19dbfe46f5ce1241fe4212597 (patch)
tree0850404e725008d9f45f958f95758986241fa1f7
parent9705390d829124a3b7d556a901cd4bca7bfff5d0 (diff)
downloadgnunet-206876a5f1f3cae19dbfe46f5ce1241fe4212597.tar.gz
gnunet-206876a5f1f3cae19dbfe46f5ce1241fe4212597.zip
-handle error codes from unindex
-rw-r--r--src/fs/gnunet-publish.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c
index 8c38c8ebd..59a86e9b7 100644
--- a/src/fs/gnunet-publish.c
+++ b/src/fs/gnunet-publish.c
@@ -154,6 +154,10 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info)
154 case GNUNET_FS_STATUS_PUBLISH_STOPPED: 154 case GNUNET_FS_STATUS_PUBLISH_STOPPED:
155 GNUNET_break (NULL == pc); 155 GNUNET_break (NULL == pc);
156 return NULL; 156 return NULL;
157 case GNUNET_FS_STATUS_UNINDEX_PROGRESS:
158 return NULL;
159 case GNUNET_FS_STATUS_UNINDEX_COMPLETED:
160 fprintf (stderr, _("Cleanup after abort complete.\n"));
157 default: 161 default:
158 fprintf (stderr, _("Unexpected status: %d\n"), info->status); 162 fprintf (stderr, _("Unexpected status: %d\n"), info->status);
159 return NULL; 163 return NULL;