mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +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 8cfa6873c2b57eb94b43a5aded38be7958922210)
This commit is contained in:
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, '\\');
|
||||
|
Loading…
x
Reference in New Issue
Block a user