mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-22 18:12:49 +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))
|
(s = accept4(monitor_named_socket,ignored_address,&ignored_length,O_NONBLOCK))
|
||||||
#else
|
#else
|
||||||
(DEBUG("accept"), 1) && //XXX
|
(DEBUG("accept"), 1) && //XXX
|
||||||
(s = accept(monitor_named_socket,&ignored_address,&ignored_length))
|
(s = accept(monitor_named_socket,ignored_address,&ignored_length))
|
||||||
#endif
|
#endif
|
||||||
!= -1
|
!= -1
|
||||||
) {
|
) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user