libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit da3b07ecb8177ca97658d7f656c8a7b61d6853c0
parent acfaee5a4fe5f6d29ecb7750654df2ec43d32b46
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 11 Feb 2014 18:43:17 +0000

clarification to documentation by Evgeny Grin

Diffstat:
Msrc/include/microhttpd.h | 3+++
Msrc/microhttpd/daemon.c | 3+++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -1394,6 +1394,9 @@ MHD_add_connection (struct MHD_Daemon *daemon, /** * Obtain the `select()` sets for this daemon. + * Daemon's FDs will be added to fd_sets. To get only + * daemon FDs in fd_sets, call FD_ZERO for each fd_set + * before calling this function. * * @param daemon daemon to get sets from * @param read_fd_set read set diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -567,6 +567,9 @@ add_to_fd_set (int fd, /** * Obtain the `select()` sets for this daemon. + * Daemon's FDs will be added to fd_sets. To get only + * daemon FDs in fd_sets, call FD_ZERO for each fd_set + * before calling this function. * * @param daemon daemon to get sets from * @param read_fd_set read set