mirror of
https://github.com/nmap/nmap.git
synced 2025-12-18 21:49:01 +00:00
Simple comment fixes.
This commit is contained in:
@@ -314,7 +314,7 @@ int select_loop(mspool *nsp, int msec_timeout) {
|
||||
|
||||
#if HAVE_PCAP
|
||||
/* do non-blocking read on pcap devices that doesn't support select()
|
||||
* If there is anything read, don't do usleep() or select(), just leave this loop */
|
||||
* If there is anything read, just leave this loop. */
|
||||
if (pcap_read_on_nonselect(nsp)) {
|
||||
/* okay, something was read. */
|
||||
} else
|
||||
@@ -332,7 +332,7 @@ int select_loop(mspool *nsp, int msec_timeout) {
|
||||
sock_err = socket_errno();
|
||||
}
|
||||
|
||||
gettimeofday(&nsock_tod, NULL); /* Due to usleep or select delay */
|
||||
gettimeofday(&nsock_tod, NULL); /* Due to select delay */
|
||||
} while (results_left == -1 && sock_err == EINTR); /* repeat only if signal occurred */
|
||||
|
||||
if (results_left == -1 && sock_err != EINTR) {
|
||||
|
||||
Reference in New Issue
Block a user