Fix for file storage backend.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 5 Feb 2010 00:34:50 +0000 (16:34 -0800)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 5 Feb 2010 00:34:50 +0000 (16:34 -0800)
bluesky/store.c

index 0d542ad..785372b 100644 (file)
@@ -397,10 +397,12 @@ static void filestore_submit(gpointer s, BlueSkyStoreAsync *async)
     switch (async->op) {
     case STORE_OP_GET:
         async->data = filestore_get(async->key);
+        async->result = 0;
         break;
 
     case STORE_OP_PUT:
         filestore_put(async->key, async->data);
+        async->result = 0;
         break;
 
     default: