diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-03-13 06:44:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:24 -0500 |
commit | 659eb9b71fe7427a1362e7b922a78dbd395258c2 (patch) | |
tree | 7786729b5710ecfa4db5f93a0eed8e818e1046a2 /source3 | |
parent | 432490a4b8193d881259a687af1fdbf5a35278a8 (diff) | |
download | samba-659eb9b71fe7427a1362e7b922a78dbd395258c2.tar.gz samba-659eb9b71fe7427a1362e7b922a78dbd395258c2.tar.bz2 samba-659eb9b71fe7427a1362e7b922a78dbd395258c2.zip |
r14298: The other half of Coverity # 217
(This used to be commit b9fb3fc0e3708b4721aaa1dcb7756d3774fb8db8)
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 cdf6838974..cba716ab5c 100644 --- a/source3/rpc_parse/parse_spoolss.c +++ b/source3/rpc_parse/parse_spoolss.c @@ -5065,7 +5065,7 @@ BOOL make_spoolss_q_addprinterdriver(TALLOC_CTX *mem_ctx, return False; } - q_u->server_name_ptr = (srv_name!=NULL)?1:0; + q_u->server_name_ptr = 1; /* srv_name is != NULL, see above */ init_unistr2(&q_u->server_name, srv_name, UNI_STR_TERMINATE); q_u->level = level; |