From 2b34442922eacb0efd9ff339b06f4a1ff73bd1cd Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 7 May 2002 07:00:14 +0000 Subject: [PATCH] rpcstr_pull() src_len fix. (This used to be commit 7da054d814d16deeea954e2559fdeb97dc323bbb) --- source3/python/py_conv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/python/py_conv.c b/source3/python/py_conv.c index 88068898a45..2dc12f348a7 100644 --- a/source3/python/py_conv.c +++ b/source3/python/py_conv.c @@ -26,7 +26,7 @@ static void fstr_pull(fstring str, UNISTR *uni) { - rpcstr_pull(str, uni->buffer, sizeof(fstring), 0, STR_TERMINATE); + rpcstr_pull(str, uni->buffer, sizeof(fstring), -1, STR_TERMINATE); } /* Convert a structure to a Python dict */