From c3bc454542f86e152838f5993a741dad18504ee8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 1 Sep 2014 08:21:23 +0200 Subject: [PATCH] Fix offset --- src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index 0ba9f32..772da62 100644 --- a/src/client.c +++ b/src/client.c @@ -623,7 +623,7 @@ static void client_record_ingest(struct client *cl) xdoc = client_get_xdoc(cl, cl->record_offset + 1); if (xdoc) { - int offset = cl->record_offset++; + int offset = ++cl->record_offset; if (cl->session) { NMEM nmem = nmem_create(); -- 1.7.10.4