git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
638c611
)
pylibsmb: Adjust to use of PY_SSIZE_T_CLEAN
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 4 Jan 2016 00:04:46 +0000
(13:04 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 7 Jan 2016 22:33:10 +0000
(23:33 +0100)
This changes the type used for # arguments to PyArg_ParseTupleAndKeywords
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
source3/libsmb/pylibsmb.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/pylibsmb.c
b/source3/libsmb/pylibsmb.c
index 2d6853ae6e14fd2355185375c6fbbe2a96b288a0..0c5d7e94841ee98be438c542992a66f4222620b9 100644
(file)
--- a/
source3/libsmb/pylibsmb.c
+++ b/
source3/libsmb/pylibsmb.c
@@
-650,7
+650,7
@@
static PyObject *py_cli_write(struct py_cli_state *self, PyObject *args,
int fnum;
unsigned mode = 0;
char *buf;
-
in
t buflen;
+
Py_ssize_
t buflen;
unsigned long long offset;
struct tevent_req *req;
NTSTATUS status;