mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
r14298: The other half of Coverity # 217
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1e1bae7afd
commit
b9fb3fc0e3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user