summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2005-06-27 22:39:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:04 -0500
commit39605e52aa1e12eba0a758869333e17c99723de6 (patch)
treea5d45944613fadd4dddf4aee668ddf2824548777 /source3
parent4a681680312f321f4e87597faf214cbe93532cb3 (diff)
downloadsamba-39605e52aa1e12eba0a758869333e17c99723de6.tar.gz
samba-39605e52aa1e12eba0a758869333e17c99723de6.tar.bz2
samba-39605e52aa1e12eba0a758869333e17c99723de6.zip
r7960: Replace unknown SMB_XSTRDUP by known SMB_STRDUP macro.
I still don't know why the compile doesn't fail. (This used to be commit 8cfa6873c2b57eb94b43a5aded38be7958922210)
Diffstat (limited to 'source3')
-rw-r--r--source3/python/py_spoolss_printers.c2
-rw-r--r--source3/python/py_srvsvc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_spoolss_printers.c b/source3/python/py_spoolss_printers.c
index a8efda1601..7446e2d282 100644
--- a/source3/python/py_spoolss_printers.c
+++ b/source3/python/py_spoolss_printers.c
@@ -43,7 +43,7 @@ PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw)
return NULL;
}
- server = SMB_XSTRDUP(unc_name + 2);
+ server = SMB_STRDUP(unc_name + 2);
if (strchr(server, '\\')) {
char *c = strchr(server, '\\');
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, '\\');