1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

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 8cfa6873c2)
This commit is contained in:
Lars Müller
2005-06-27 22:39:09 +00:00
committed by Gerald (Jerry) Carter
parent 4a68168031
commit 39605e52aa
2 changed files with 2 additions and 2 deletions

View File

@ -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, '\\');

View File

@ -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, '\\');