1
0
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:
Volker Lendecke
2006-03-13 06:44:10 +00:00
committed by Gerald (Jerry) Carter
parent 1e1bae7afd
commit b9fb3fc0e3

View File

@@ -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;