summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-02-21 17:30:58 +0000
committerGerald Carter <jerry@samba.org>2002-02-21 17:30:58 +0000
commit5dbe33e3ee3615260036b2dc89bfd164b62a6296 (patch)
tree962c4a6be8a39d59c0057fa540a63f99abf786ad
parent1f6d48f56def3d6c9c697814a820b3d98af80391 (diff)
downloadsamba-5dbe33e3ee3615260036b2dc89bfd164b62a6296.tar.gz
samba-5dbe33e3ee3615260036b2dc89bfd164b62a6296.tar.bz2
samba-5dbe33e3ee3615260036b2dc89bfd164b62a6296.zip
merge from 2.2
(This used to be commit 505119f0a7c6f10fd7e580edfe1bd0fb6ec36428)
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
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);