mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-30 03:19:35 -05:00
remove compile warning on Ubuntu
git-svn-id: file:///svn/unbound/trunk@2288 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
32a9e3a225
commit
abe1057c41
1 changed files with 2 additions and 1 deletions
|
|
@ -389,7 +389,8 @@ read_cert_file(char* file)
|
|||
exit(0);
|
||||
}
|
||||
/* read away newline after --END CERT-- */
|
||||
(void)fgets(buf, (int)sizeof(buf), in);
|
||||
if(!fgets(buf, (int)sizeof(buf), in))
|
||||
break;
|
||||
content = 1;
|
||||
}
|
||||
fclose(in);
|
||||
|
|
|
|||
Loading…
Reference in a new issue