summaryrefslogtreecommitdiff
path: root/src/fs/fs_unindex.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-17 21:12:09 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-17 21:12:09 +0000
commitbed39036b47e1b820ee40d645f743e18520c4f8c (patch)
tree6218facf7c12448327e82780896a609ac000e128 /src/fs/fs_unindex.c
parenta6d3a7a355634ef0396f009f9286962cdc4c6077 (diff)
downloadgnunet-bed39036b47e1b820ee40d645f743e18520c4f8c.tar.gz
gnunet-bed39036b47e1b820ee40d645f743e18520c4f8c.zip
fixes
Diffstat (limited to 'src/fs/fs_unindex.c')
-rw-r--r--src/fs/fs_unindex.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c
index b69610409..474e791d9 100644
--- a/src/fs/fs_unindex.c
+++ b/src/fs/fs_unindex.c
@@ -307,6 +307,14 @@ unindex_finish (void *cls,
307 uc->client = GNUNET_CLIENT_connect (uc->h->sched, 307 uc->client = GNUNET_CLIENT_connect (uc->h->sched,
308 "fs", 308 "fs",
309 uc->h->cfg); 309 uc->h->cfg);
310 if (uc->client == NULL)
311 {
312 uc->state = UNINDEX_STATE_ERROR;
313 uc->emsg = GNUNET_strdup (_("Failed to connect to FS service for unindexing."));
314 GNUNET_FS_unindex_sync_ (uc);
315 signal_unindex_error (uc);
316 return;
317 }
310 req.header.size = htons (sizeof (struct UnindexMessage)); 318 req.header.size = htons (sizeof (struct UnindexMessage));
311 req.header.type = htons (GNUNET_MESSAGE_TYPE_FS_UNINDEX); 319 req.header.type = htons (GNUNET_MESSAGE_TYPE_FS_UNINDEX);
312 req.reserved = 0; 320 req.reserved = 0;