netutils/webserver: improve modularity of httpd single server

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-04-11 13:25:49 +03:00 committed by Xiang Xiao
parent f15605da2f
commit f7448f848b

View File

@ -809,7 +809,7 @@ static void single_server(uint16_t portno, pthread_startroutine_t handler,
/* Handle the request. This blocks until complete. */
httpd_handler((FAR void *)acceptsd);
handler((FAR void *)acceptsd);
}
/* Close the sockets */