summaryrefslogtreecommitdiffstats
path: root/source/python/py_conv.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-07 07:00:14 +0000
committerTim Potter <tpot@samba.org>2002-05-07 07:00:14 +0000
commit7da054d814d16deeea954e2559fdeb97dc323bbb (patch)
treea566559e4502f33f542a5f6723619e6874fd3b24 /source/python/py_conv.c
parentf32e3f2087c44f27bcfc8a8b1c76ee2b29f01dea (diff)
downloadsamba-7da054d814d16deeea954e2559fdeb97dc323bbb.tar.gz
samba-7da054d814d16deeea954e2559fdeb97dc323bbb.tar.xz
samba-7da054d814d16deeea954e2559fdeb97dc323bbb.zip
rpcstr_pull() src_len fix.
Diffstat (limited to 'source/python/py_conv.c')
-rw-r--r--source/python/py_conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/python/py_conv.c b/source/python/py_conv.c
index 88068898a45..2dc12f348a7 100644
--- a/source/python/py_conv.c
+++ b/source/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 */