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:
committed by
Gerald (Jerry) Carter
parent
4a68168031
commit
39605e52aa
@ -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, '\\');
|
||||
|
@ -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, '\\');
|
||||
|
Reference in New Issue
Block a user