1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-19 14:09:02 +00:00

Simple comment fixes.

This commit is contained in:
henri
2012-02-02 09:52:19 +00:00
parent 0caeac97c9
commit 5f49844390
2 changed files with 4 additions and 4 deletions

View File

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

View File

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