git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r25598: Add missing become_root/unbecome_root around calls of add_aliases.
[samba.git]
/
source
/
python
/
py_smb.c
diff --git
a/source/python/py_smb.c
b/source/python/py_smb.c
index 5f913682d119bfb700eb176d0a41ebd5f1e86b17..17b2a2d5aa13782b35f07e517089f7dea0a5f798 100644
(file)
--- a/
source/python/py_smb.c
+++ b/
source/python/py_smb.c
@@
-47,7
+47,7
@@
static PyObject *py_smb_connect(PyObject *self, PyObject *args, PyObject *kw)
ZERO_STRUCT(ip);
- if (!
cli_connect(cli, server, &ip
))
+ if (!
NT_STATUS_IS_OK(cli_connect(cli, server, &ip)
))
return NULL;
return new_cli_state_object(cli);