diff options
Diffstat (limited to 'source4/rpc_server/spoolss/dcesrv_spoolss.c')
-rw-r--r-- | source4/rpc_server/spoolss/dcesrv_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c index e3f4279669..8fefb9d6df 100644 --- a/source4/rpc_server/spoolss/dcesrv_spoolss.c +++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c @@ -966,7 +966,7 @@ static WERROR spoolss_OpenPrinterEx(struct dcesrv_call_state *dce_call, TALLOC_C /* Printername must start with \\ */ - if (!strnequal(r->in.printername, "\\\\", 2)) + if (strncmp(r->in.printername, "\\\\", 2) == 0) return WERR_INVALID_PARAM; if (strchr_m(r->in.printername + 2, '\\')) |