1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

r14228: Fix Coverity bug # 217

(This used to be commit 680bd1b004)
This commit is contained in:
Volker Lendecke 2006-03-12 00:08:12 +00:00 committed by Gerald (Jerry) Carter
parent c9f256cb6c
commit 79af0b91e0

View File

@ -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 */