1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

ctdb-protocol: Fix marshalling of ctdb_string

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2016-04-21 23:48:52 +10:00 committed by Martin Schwenke
parent ddfbd74607
commit fcb2ab7641

View File

@ -199,6 +199,7 @@ int ctdb_string_pull(uint8_t *buf, size_t buflen, TALLOC_CTX *mem_ctx,
char *str;
if (buflen == 0) {
*out = NULL;
return 0;
}