fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 25 May 2011 21:17:23 +0000 (21:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 25 May 2011 21:17:23 +0000 (21:17 +0000)
src/datastore/datastore_api.c

index 660e8f10237eeca4db154a0f644e8521924a3099..76d9e5f3c8363d4fe804863c61105c8a02fdfd83 100644 (file)
@@ -659,6 +659,11 @@ process_queue (struct GNUNET_DATASTORE_Handle *h)
 #endif
       return; /* waiting for reconnect */
     }
+  if (GNUNET_YES == h->in_receive)
+    {
+      /* wait for response to previous query */
+      return; 
+    }
 #if DEBUG_DATASTORE
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Queueing %u byte request to DATASTORE\n",