From fb2335d70cc065307f889e6085553cdff344c36f Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 17 Jan 2015 00:57:45 +0100 Subject: [PATCH] frontend/store: Fixed parsing of STORE command. After parsing the type, keep it still around in the current buffer. The sdb_proto_unmarshal_ functions expect to find it as well. --- src/frontend/store.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/frontend/store.c b/src/frontend/store.c index 5f3ce84..7285b34 100644 --- a/src/frontend/store.c +++ b/src/frontend/store.c @@ -92,7 +92,6 @@ sdb_fe_store(sdb_conn_t *conn) "STORE: Invalid command length %zu", len); return -1; } - buf += n; len -= n; switch (type) { case SDB_HOST: -- 2.30.2