summaryrefslogtreecommitdiff
path: root/apps/netutils/webserver
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-02 16:52:02 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-02 16:52:02 -0600
commitd559bea3ebb08291f2312551bfb43c91ba03c18c (patch)
tree8f2bce9ac07964ef0cc8923400768bf18e10d37e /apps/netutils/webserver
parent7f24c737b4d75340484337f5418c08c5de8c981d (diff)
downloadnuttx-d559bea3ebb08291f2312551bfb43c91ba03c18c.tar.gz
nuttx-d559bea3ebb08291f2312551bfb43c91ba03c18c.tar.bz2
nuttx-d559bea3ebb08291f2312551bfb43c91ba03c18c.zip
NET: Rename functions in apps/netutils/netlib to begin with netlib_ vs uip_
Diffstat (limited to 'apps/netutils/webserver')
-rw-r--r--apps/netutils/webserver/httpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/netutils/webserver/httpd.c b/apps/netutils/webserver/httpd.c
index c4ada2f8b..e9b9f96d5 100644
--- a/apps/netutils/webserver/httpd.c
+++ b/apps/netutils/webserver/httpd.c
@@ -788,7 +788,7 @@ static void single_server(uint16_t portno, pthread_startroutine_t handler, int s
struct timeval tv;
#endif
- listensd = uip_listenon(portno);
+ listensd = netlib_listenon(portno);
if (listensd < 0)
{
return;
@@ -861,7 +861,7 @@ int httpd_listen(void)
#ifdef CONFIG_NETUTILS_HTTPD_SINGLECONNECT
single_server(HTONS(80), httpd_handler, CONFIG_NETUTILS_HTTPDSTACKSIZE);
#else
- uip_server(HTONS(80), httpd_handler, CONFIG_NETUTILS_HTTPDSTACKSIZE);
+ netlib_server(HTONS(80), httpd_handler, CONFIG_NETUTILS_HTTPDSTACKSIZE);
#endif
/* the server accept loop only returns on errors */