summaryrefslogtreecommitdiff
path: root/source3/python
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
commit2b34442922eacb0efd9ff339b06f4a1ff73bd1cd (patch)
tree8bcaa25d63e672e7f1fc2de46cdba07fd21eae4b /source3/python
parent5f0a3bf295d98f54beeaedec133e4ebf5b048613 (diff)
downloadsamba-2b34442922eacb0efd9ff339b06f4a1ff73bd1cd.tar.gz
samba-2b34442922eacb0efd9ff339b06f4a1ff73bd1cd.tar.bz2
samba-2b34442922eacb0efd9ff339b06f4a1ff73bd1cd.zip
rpcstr_pull() src_len fix.
(This used to be commit 7da054d814d16deeea954e2559fdeb97dc323bbb)
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 */