From 8afce11c793cef769c327f81616f417b9d758569 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 11 Jul 2014 12:30:23 -0600 Subject: 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 --- apps/examples/cc3000/telnetd_daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/examples/cc3000') diff --git a/apps/examples/cc3000/telnetd_daemon.c b/apps/examples/cc3000/telnetd_daemon.c index 68bcbfbca..2adadc60a 100644 --- a/apps/examples/cc3000/telnetd_daemon.c +++ b/apps/examples/cc3000/telnetd_daemon.c @@ -99,7 +99,7 @@ static int telnetd_daemon(int argc, char *argv[]) { FAR struct telnetd_s *daemon; struct sockaddr_in myaddr; -#ifdef CONFIG_NET_HAVE_SOLINGER +#ifdef CONFIG_NET_SOLINGER struct linger ling; #endif socklen_t addrlen; @@ -187,7 +187,7 @@ static int telnetd_daemon(int argc, char *argv[]) /* Configure to "linger" until all data is sent when the socket is closed */ -#ifdef CONFIG_NET_HAVE_SOLINGER +#ifdef CONFIG_NET_SOLINGER ling.l_onoff = 1; ling.l_linger = 30; /* timeout is seconds */ if (setsockopt(acceptsd, SOL_SOCKET, SO_LINGER, &ling, sizeof(struct linger)) < 0) -- cgit v1.2.3