summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_conv.c b/source3/python/py_conv.c
index 88068898a4..2dc12f348a 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 */