1
1
When sendto() fails, it would be helpful to see the errno value.
Этот коммит содержится в:
Jeff Squyres 2015-12-15 15:04:25 -08:00
родитель c1a6beac8d
Коммит ab1bbca5b9

Просмотреть файл

@ -300,7 +300,10 @@ static void agent_sendto(int fd, char *buffer, ssize_t numbytes,
continue;
}
ABORT("Unexpected sendto() error");
char *msg;
asprintf(&msg, "Unexpected sendto() error: errno=%d (%s)",
errno, strerror(errno));
ABORT(msg);
/* Will not return */
}