diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-02-11 18:43:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-02-11 18:43:17 +0000 |
commit | da3b07ecb8177ca97658d7f656c8a7b61d6853c0 (patch) | |
tree | 1b4d606bb67be1a138b7344552c7984c72f47092 /src | |
parent | acfaee5a4fe5f6d29ecb7750654df2ec43d32b46 (diff) | |
download | libmicrohttpd-da3b07ecb8177ca97658d7f656c8a7b61d6853c0.tar.gz libmicrohttpd-da3b07ecb8177ca97658d7f656c8a7b61d6853c0.zip |
clarification to documentation by Evgeny Grin
Diffstat (limited to 'src')
-rw-r--r-- | src/include/microhttpd.h | 3 | ||||
-rw-r--r-- | src/microhttpd/daemon.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 5ced10f0..1f8f6d9f 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -1394,6 +1394,9 @@ MHD_add_connection (struct MHD_Daemon *daemon, | |||
1394 | 1394 | ||
1395 | /** | 1395 | /** |
1396 | * Obtain the `select()` sets for this daemon. | 1396 | * Obtain the `select()` sets for this daemon. |
1397 | * Daemon's FDs will be added to fd_sets. To get only | ||
1398 | * daemon FDs in fd_sets, call FD_ZERO for each fd_set | ||
1399 | * before calling this function. | ||
1397 | * | 1400 | * |
1398 | * @param daemon daemon to get sets from | 1401 | * @param daemon daemon to get sets from |
1399 | * @param read_fd_set read set | 1402 | * @param read_fd_set read set |
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 890e4dd8..8227c90b 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -567,6 +567,9 @@ add_to_fd_set (int fd, | |||
567 | 567 | ||
568 | /** | 568 | /** |
569 | * Obtain the `select()` sets for this daemon. | 569 | * Obtain the `select()` sets for this daemon. |
570 | * Daemon's FDs will be added to fd_sets. To get only | ||
571 | * daemon FDs in fd_sets, call FD_ZERO for each fd_set | ||
572 | * before calling this function. | ||
570 | * | 573 | * |
571 | * @param daemon daemon to get sets from | 574 | * @param daemon daemon to get sets from |
572 | * @param read_fd_set read set | 575 | * @param read_fd_set read set |