mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Fixing compiler warnings (addresses #388)
This commit is contained in:
parent
c2683afc01
commit
cec4600d2e
15 changed files with 54 additions and 53 deletions
|
@ -797,7 +797,7 @@ int dbg_handle_debug_input()
|
|||
input_line = (char*) safe_malloc(1024);
|
||||
input_line[1023] = 0;
|
||||
// ### Maybe it's not always stdin.
|
||||
fgets(input_line, 1023, stdin);
|
||||
input_line = fgets(input_line, 1023, stdin);
|
||||
#endif
|
||||
|
||||
// ### Maybe not stdin; maybe do better cleanup.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue