git » nmdb » commit 990b9c5

Call the correct req->reply function in dbloop's CAS handling.

author Alberto Bertogli
2007-08-28 05:21:52 UTC
committer Alberto Bertogli
2007-08-28 05:21:52 UTC
parent 1796a6c55c62788f716d9b1fe527f4257cc2187e

Call the correct req->reply function in dbloop's CAS handling.

Actually, we could just remove the unneeded reply functions, but for now
just fix this call.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

nmdb/dbloop.c +1 -1

diff --git a/nmdb/dbloop.c b/nmdb/dbloop.c
index 5140ca9..9a80c0d 100644
--- a/nmdb/dbloop.c
+++ b/nmdb/dbloop.c
@@ -151,7 +151,7 @@ static void process_op(db_t *db, struct queue_entry *e)
 		}
 		rv = db_get(db, e->key, e->ksize, dbval, &dbvsize);
 		if (rv == 0) {
-			e->req->reply_get(e->req, REP_NOTIN, NULL, 0);
+			e->req->reply_cas(e->req, REP_NOTIN);
 			free(dbval);
 			return;
 		}