fix
authorChristian Grothoff <christian@grothoff.org>
Sat, 24 Oct 2009 21:49:17 +0000 (21:49 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 24 Oct 2009 21:49:17 +0000 (21:49 +0000)
src/datastore/datastore_api.c

index a9058fa049977a3fcd0d8826b6724d108a986a2b..a64e3b049c9767c793d19c2c2e54751e4864c14a 100644 (file)
@@ -184,6 +184,7 @@ with_status_response_handler (void *cls,
   const char *emsg;
   int status;
 
+  h->message_size = 0;
   if (msg == NULL)
     {
       h->response_proc = NULL;
@@ -464,6 +465,7 @@ with_result_response_handler (void *cls,
   const struct DataMessage *dm;
   size_t msize;
 
+  h->message_size = 0;
   if (msg == NULL)
     {
       h->response_proc = NULL;