-fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 23 Apr 2012 07:52:41 +0000 (07:52 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 23 Apr 2012 07:52:41 +0000 (07:52 +0000)
src/fs/fs_unindex.c

index a4deb8fa0b46bc9a380e601e74ef26cbd1b25255..691032183c85791228e479bfb389aa5c881f60e6 100644 (file)
@@ -610,7 +610,7 @@ unindex_extract_keywords (void *cls, const struct GNUNET_SCHEDULER_TaskContext *
 void
 GNUNET_FS_unindex_do_remove_ (struct GNUNET_FS_UnindexContext *uc)
 {
-  if (NULL != uc->dsh)
+  if (NULL == uc->dsh)
     uc->dsh = GNUNET_DATASTORE_connect (uc->h->cfg);
   if (NULL == uc->dsh)
   {