From 659eb9b71fe7427a1362e7b922a78dbd395258c2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 13 Mar 2006 06:44:10 +0000 Subject: [PATCH] r14298: The other half of Coverity # 217 (This used to be commit b9fb3fc0e3708b4721aaa1dcb7756d3774fb8db8) --- source3/rpc_parse/parse_spoolss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c index cdf68389744..cba716ab5c6 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; -- 2.11.4.GIT