summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-12 00:08:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:18 -0500
commit79af0b91e0851321c28878df92559e41f4cb3651 (patch)
tree3a08322d41f313cb34fd9b8dcb1e31846ed91420 /source3
parentc9f256cb6ca0a51551004580e2422bb23bddbe20 (diff)
downloadsamba-79af0b91e0851321c28878df92559e41f4cb3651.tar.gz
samba-79af0b91e0851321c28878df92559e41f4cb3651.tar.bz2
samba-79af0b91e0851321c28878df92559e41f4cb3651.zip
r14228: Fix Coverity bug # 217
(This used to be commit 680bd1b004f26b5a0449114911c85ca587038147)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index e4a023ac21..dcd5e35972 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -5071,7 +5071,7 @@ BOOL make_spoolss_q_addprinterdriver(TALLOC_CTX *mem_ctx,
q_u->level = level;
q_u->info.level = level;
- q_u->info.ptr = (info!=NULL)?1:0;
+ q_u->info.ptr = 1; /* Info is != NULL, see above */
switch (level)
{
/* info level 3 is supported by Windows 95/98, WinNT and Win2k */