diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-03-12 00:08:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:18 -0500 |
commit | 79af0b91e0851321c28878df92559e41f4cb3651 (patch) | |
tree | 3a08322d41f313cb34fd9b8dcb1e31846ed91420 /source3 | |
parent | c9f256cb6ca0a51551004580e2422bb23bddbe20 (diff) | |
download | samba-79af0b91e0851321c28878df92559e41f4cb3651.tar.gz |
r14228: Fix Coverity bug # 217
(This used to be commit 680bd1b004f26b5a0449114911c85ca587038147)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_parse/parse_spoolss.c | 2 |
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 */ |