summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 93b9a7b)
raw | patch | inline | side by side (parent: 93b9a7b)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 16 Jan 2015 23:57:45 +0000 (00:57 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 16 Jan 2015 23:57:45 +0000 (00:57 +0100) |
After parsing the type, keep it still around in the current buffer. The
sdb_proto_unmarshal_<type> functions expect to find it as well.
sdb_proto_unmarshal_<type> functions expect to find it as well.
src/frontend/store.c | patch | blob | history |
diff --git a/src/frontend/store.c b/src/frontend/store.c
index 5f3ce846ec16865790874fb90018a3f4c5916ea3..7285b349b39be9994b92add89167bb3aaaacb174 100644 (file)
--- a/src/frontend/store.c
+++ b/src/frontend/store.c
"STORE: Invalid command length %zu", len);
return -1;
}
- buf += n; len -= n;
switch (type) {
case SDB_HOST: