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:
9fb0d8e
)
s3:pylibsmb: make use of protocol independent cli_write_send/recv in py_cli_write()
author
Stefan Metzmacher
<metze@samba.org>
Fri, 7 Dec 2018 13:28:04 +0000
(14:28 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 13 Dec 2018 07:52:24 +0000
(08:52 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Tim Beale <timbeale@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libsmb/pylibsmb.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/pylibsmb.c
b/source3/libsmb/pylibsmb.c
index 3b1aa73df625eef7263390be08f5b510460f17dd..2dabacbff13a1d5959c73496fe9d1992f4e71f58 100644
(file)
--- a/
source3/libsmb/pylibsmb.c
+++ b/
source3/libsmb/pylibsmb.c
@@
-746,12
+746,12
@@
static PyObject *py_cli_write(struct py_cli_state *self, PyObject *args,
return NULL;
}
- req = cli_write_
andx_
send(NULL, self->ev, self->cli, fnum, mode,
-
(uint8_t *)buf, offset, buflen);
+ req = cli_write_send(NULL, self->ev, self->cli, fnum, mode,
+ (uint8_t *)buf, offset, buflen);
if (!py_tevent_req_wait_exc(self, req)) {
return NULL;
}
- status = cli_write_
andx_
recv(req, &written);
+ status = cli_write_recv(req, &written);
TALLOC_FREE(req);
if (!NT_STATUS_IS_OK(status)) {