diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-11 12:30:23 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-11 12:30:23 -0600 |
commit | 8afce11c793cef769c327f81616f417b9d758569 (patch) | |
tree | b55b1318c106ac012c84920420923b1d1a15d7a0 /apps/netutils/netlib | |
parent | 8e99f6bfed3e066cec389ea80efd83ea86f7d067 (diff) | |
download | nuttx-8afce11c793cef769c327f81616f417b9d758569.tar.gz nuttx-8afce11c793cef769c327f81616f417b9d758569.tar.bz2 nuttx-8afce11c793cef769c327f81616f417b9d758569.zip |
Fix netutils configuration issues: CONFIG_NETUTILS_HTTPD_SENDFILE was missing from Kconfig; CONFIG_NET_HAVE_SOLINGER should be CONFIG_NET_SOLINGER; Type of CONFIG_NET_HTTPD_MAXPATH was wrong in Kconfig file. From Max
Diffstat (limited to 'apps/netutils/netlib')
-rw-r--r-- | apps/netutils/netlib/netlib_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/netutils/netlib/netlib_server.c b/apps/netutils/netlib/netlib_server.c index d2c9ee3e9..5817f4c0b 100644 --- a/apps/netutils/netlib/netlib_server.c +++ b/apps/netutils/netlib/netlib_server.c @@ -81,7 +81,7 @@ void netlib_server(uint16_t portno, pthread_startroutine_t handler, int stacksize) { struct sockaddr_in myaddr; -#ifdef CONFIG_NET_HAVE_SOLINGER +#ifdef CONFIG_NET_SOLINGER struct linger ling; #endif pthread_t child; @@ -119,7 +119,7 @@ void netlib_server(uint16_t portno, pthread_startroutine_t handler, int stacksiz * closed. */ -#ifdef CONFIG_NET_HAVE_SOLINGER +#ifdef CONFIG_NET_SOLINGER ling.l_onoff = 1; ling.l_linger = 30; /* timeout is seconds */ |