Skip to content

Commit

Permalink
dict-client: dict_lookup*() deleted the first byte of the result.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Nov 22, 2016
1 parent 5de0c65 commit 542d7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-dict/dict-client.c
Expand Up @@ -911,7 +911,7 @@ client_dict_lookup_async_callback(struct client_dict_cmd *cmd,
result.error = error;
} else switch (reply) {
case DICT_PROTOCOL_REPLY_OK:
result.value = value + 1;
result.value = value;
result.ret = 1;
break;
case DICT_PROTOCOL_REPLY_NOTFOUND:
Expand Down

0 comments on commit 542d7a4

Please sign in to comment.