mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Simple comment fixes.
This commit is contained in:
parent
0caeac97c9
commit
5f49844390
2 changed files with 4 additions and 4 deletions
|
|
@ -277,7 +277,7 @@ int epoll_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
|
||||
|
|
@ -292,7 +292,7 @@ int epoll_loop(mspool *nsp, int msec_timeout) {
|
|||
sock_err = socket_errno();
|
||||
}
|
||||
|
||||
gettimeofday(&nsock_tod, NULL); /* Due to usleep or epoll delay */
|
||||
gettimeofday(&nsock_tod, NULL); /* Due to epoll delay */
|
||||
} while (results_left == -1 && sock_err == EINTR); /* repeat only if signal occurred */
|
||||
|
||||
if (results_left == -1 && sock_err != EINTR) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue