summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/thttpd.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-08-02 16:08:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-08-02 16:08:20 +0000
commit0c8b72e500e8a2f920b5e4dddb7deb90d5de74ed (patch)
tree190ae577e2459ffd3a6f88f7ee1612295ee83ebd /nuttx/netutils/thttpd/thttpd.c
parent91c5b43fb0efbb6c523bb558d8ae4297e623b35b (diff)
downloadpx4-nuttx-0c8b72e500e8a2f920b5e4dddb7deb90d5de74ed.tar.gz
px4-nuttx-0c8b72e500e8a2f920b5e4dddb7deb90d5de74ed.tar.bz2
px4-nuttx-0c8b72e500e8a2f920b5e4dddb7deb90d5de74ed.zip
THTTPD now gets past initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2007 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/thttpd/thttpd.c')
-rw-r--r--nuttx/netutils/thttpd/thttpd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/nuttx/netutils/thttpd/thttpd.c b/nuttx/netutils/thttpd/thttpd.c
index aac9e4425..259f88e1b 100644
--- a/nuttx/netutils/thttpd/thttpd.c
+++ b/nuttx/netutils/thttpd/thttpd.c
@@ -737,11 +737,7 @@ int thttpd_main(int argc, char **argv)
int cnum;
FAR struct connect_s *conn;
FAR httpd_conn *hc;
-#ifdef CONFIG_NET_IPv6
- struct sockaddr_in6 sa;
-#else
- struct sockaddr_in sa;
-#endif
+ httpd_sockaddr sa;
struct timeval tv;
#ifdef CONFIG_THTTPD_DIR
int ret;