[Listener] Use perror() after recvfrom()
This commit is contained in:
parent
f71a56bb9a
commit
f008db0e1c
|
@ -1261,7 +1261,7 @@ void* autocalibrate(void *NULL_value)
|
||||||
if (nread <= 0 && owl_run)
|
if (nread <= 0 && owl_run)
|
||||||
{
|
{
|
||||||
if (owl_run)
|
if (owl_run)
|
||||||
fprintf(stderr, "No message received from aggregator!\n") ;
|
perror("No message received from aggregator") ;
|
||||||
continue ;
|
continue ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue