mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
Two more small compile time error fixes.
This commit is contained in:
parent
be5027c316
commit
6418283371
2 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
#ifdef HAVE_GETOPT_H
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
|
@ -421,7 +422,7 @@ int main(int argc, char** argv)
|
|||
|
||||
prog = argv[0];
|
||||
|
||||
prefixes.append(""); // "" = "no prefix"
|
||||
prefixes.append(strdup("")); // "" = "no prefix"
|
||||
|
||||
char* p = getenv("BRO_PREFIXES");
|
||||
if ( p )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue