From 5dbe33e3ee3615260036b2dc89bfd164b62a6296 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 21 Feb 2002 17:30:58 +0000 Subject: merge from 2.2 (This used to be commit 505119f0a7c6f10fd7e580edfe1bd0fb6ec36428) --- source3/rpc_server/srv_spoolss_nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index b2de688b74..cdddb8b564 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -7113,7 +7113,7 @@ WERROR _spoolss_setprinterdataex(pipes_struct *p, SPOOL_Q_SETPRINTERDATAEX *q_u, unistr2_to_ascii(key, &q_u->key, sizeof(key) - 1); - if (strcmp(key, "PrinterDriverData") == 0) + if (strcmp(key, "PrinterDriverData") != 0) return WERR_INVALID_PARAM; ZERO_STRUCT(q_u_local); -- cgit