mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Fix a nb_dns.c compile error (older OSs) due to C90 vs C99.
This commit is contained in:
parent
82a51e0731
commit
deced3795c
3 changed files with 8 additions and 2 deletions
|
@ -132,7 +132,9 @@ nb_dns_init(char *errstr)
|
|||
return (NULL);
|
||||
}
|
||||
|
||||
for ( int i = 0; i < _res.nscount; ++i )
|
||||
int i;
|
||||
|
||||
for ( i = 0; i < _res.nscount; ++i )
|
||||
{
|
||||
nd->server = _res.nsaddr_list[i];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue