Fix possible cause of SEGV crash in monitor.c

This commit is contained in:
Andrew Bettison 2012-05-10 14:15:21 +09:30
parent 881576212c
commit 8c1b8920d5

View File

@ -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
) {