diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-03 13:09:10 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-03 13:09:10 +0000 |
commit | a0a640003469941c9067d8fab6e272a088aa45d8 (patch) | |
tree | 40c155f2b818a9f90f0e9468090dfc78aadef457 /package/uhttpd/src/uhttpd.c | |
parent | 90888d6b35e3253d2409ca974a7343c000fcf877 (diff) | |
download | mtk-20170518-a0a640003469941c9067d8fab6e272a088aa45d8.zip mtk-20170518-a0a640003469941c9067d8fab6e272a088aa45d8.tar.gz mtk-20170518-a0a640003469941c9067d8fab6e272a088aa45d8.tar.bz2 |
uhttpd: - cope with options instead of lists in uci config - fix compilation without tls (#7050) - bump to rev 7
SVN-Revision: 20668
Diffstat (limited to 'package/uhttpd/src/uhttpd.c')
-rw-r--r-- | package/uhttpd/src/uhttpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/uhttpd/src/uhttpd.c b/package/uhttpd/src/uhttpd.c index c6a8b6c..da37794 100644 --- a/package/uhttpd/src/uhttpd.c +++ b/package/uhttpd/src/uhttpd.c @@ -524,6 +524,7 @@ int main (int argc, char **argv) port = optarg; } +#ifdef HAVE_TLS if( opt == 's' ) { if( !conf.tls ) @@ -537,6 +538,7 @@ int main (int argc, char **argv) tls = 1; } +#endif /* bind sockets */ bound += uh_socket_bind( |