mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 01:42:18 +00:00
Fix possible cause of SEGV crash in monitor.c
This commit is contained in:
parent
881576212c
commit
8c1b8920d5
@ -189,7 +189,7 @@ int monitor_poll()
|
||||
(s = accept4(monitor_named_socket,ignored_address,&ignored_length,O_NONBLOCK))
|
||||
#else
|
||||
(DEBUG("accept"), 1) && //XXX
|
||||
(s = accept(monitor_named_socket,&ignored_address,&ignored_length))
|
||||
(s = accept(monitor_named_socket,ignored_address,&ignored_length))
|
||||
#endif
|
||||
!= -1
|
||||
) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user