summaryrefslogtreecommitdiff
path: root/source3/python/py_srvsvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/py_srvsvc.c')
-rw-r--r--source3/python/py_srvsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_srvsvc.c b/source3/python/py_srvsvc.c
index 1fa7ca89c2..823dbb334a 100644
--- a/source3/python/py_srvsvc.c
+++ b/source3/python/py_srvsvc.c
@@ -93,7 +93,7 @@ PyObject *srvsvc_netservergetinfo(PyObject *self, PyObject *args,
return NULL;
}
- server = SMB_XSTRDUP(unc_name + 2);
+ server = SMB_STRDUP(unc_name + 2);
if (strchr(server, '\\')) {
char *c = strchr(server, '\\');