diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 39d5013f..df223a6a 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h @@ -2719,7 +2719,7 @@ MHD_add_connection (struct MHD_Daemon *daemon, * before calling this function. FD_SETSIZE is assumed * to be platform's default. * - * This function should only be called in when MHD is configured to + * This function should only be called only when MHD is configured to * use "external" sockets polling with 'select()' or with 'epoll'. * In the latter case, it will only add the single 'epoll' file * descriptor used by MHD to the sets. @@ -2760,7 +2760,7 @@ MHD_get_fdset (struct MHD_Daemon *daemon, * Passing custom FD_SETSIZE as @a fd_setsize allow usage of * larger/smaller than platform's default fd_sets. * - * This function should only be called in when MHD is configured to + * This function should only be called only when MHD is configured to * use "external" sockets polling with 'select()' or with 'epoll'. * In the latter case, it will only add the single 'epoll' file * descriptor used by MHD to the sets. @@ -2801,7 +2801,7 @@ MHD_get_fdset2 (struct MHD_Daemon *daemon, * before calling this function. Size of fd_set is * determined by current value of FD_SETSIZE. * - * This function should only be called in when MHD is configured to + * This function should only be called only when MHD is configured to * use "external" sockets polling with 'select()' or with 'epoll'. * In the latter case, it will only add the single 'epoll' file * descriptor used by MHD to the sets. diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index d022247d..1c115657 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -700,8 +700,8 @@ MHD_TLS_init (struct MHD_Daemon *daemon) * before calling this function. FD_SETSIZE is assumed * to be platform's default. * - * This function should only be called in when MHD is configured to - * use external select with 'select()' or with 'epoll'. + * This function should only be called only when MHD is configured to + * use "external" sockets polling with 'select()' or with 'epoll'. * In the latter case, it will only add the single 'epoll' file * descriptor used by MHD to the sets. * It's necessary to use #MHD_get_timeout() to get maximum timeout @@ -1107,8 +1107,8 @@ internal_get_fdset2 (struct MHD_Daemon *daemon, * Passing custom FD_SETSIZE as @a fd_setsize allow usage of * larger/smaller than platform's default fd_sets. * - * This function should only be called in when MHD is configured to - * use external select with 'select()' or with 'epoll'. + * This function should only be called only when MHD is configured to + * use "external" sockets polling with 'select()' or with 'epoll'. * In the latter case, it will only add the single 'epoll' file * descriptor used by MHD to the sets. * It's necessary to use #MHD_get_timeout() to get maximum timeout