diff options
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index 2dd492364b..c5b36fe2a5 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -448,7 +448,7 @@ BOOL spoolss_open_printer_ex( const char *printername, memset(srv_name, 0, sizeof(srv_name)); fstrcpy(srv_name, printername); - s = strchr(&srv_name[2], '\\'); + s = strchr_m(&srv_name[2], '\\'); if (s != NULL) *s = '\0'; |