Cosmetic fixes to spacing.

This commit is contained in:
Gregory Nutt 2019-07-27 08:49:34 -06:00
parent 3a21b0b222
commit 9e1cda95fb
4 changed files with 11 additions and 9 deletions

View File

@ -40,8 +40,8 @@
CSRCS = cgi.c httpd_fsdata.c
MAINSRC = webserver_main.c
CONFIG_XYZ_PROGNAME ?= webserver$(EXEEXT)
PROGNAME = $(CONFIG_XYZ_PROGNAME)
CONFIG_EXAMPLES_WEBSERVER_PROGNAME ?= webserver$(EXEEXT)
PROGNAME = $(CONFIG_EXAMPLES_WEBSERVER_PROGNAME)
# Webserver built-in application info

View File

@ -36,8 +36,9 @@
-include $(TOPDIR)/Make.defs
# Web client library
ifeq ($(CONFIG_NET_TCP),y)
CSRCS = webclient.c
CSRCS = webclient.c
endif
include $(APPDIR)/Application.mk

View File

@ -37,18 +37,18 @@
# Web server library
CSRCS =
CSRCS =
ifeq ($(CONFIG_NET_TCP),y)
CSRCS += httpd.c httpd_cgi.c
CSRCS += httpd.c httpd_cgi.c
ifeq ($(CONFIG_NETUTILS_HTTPD_SENDFILE),y)
CSRCS += httpd_sendfile.c
CSRCS += httpd_sendfile.c
ifeq ($(CONFIG_NETUTILS_HTTPD_DIRLIST),y)
CSRCS += httpd_dirlist.c
CSRCS += httpd_dirlist.c
endif
else ifeq ($(CONFIG_NETUTILS_HTTPD_MMAP),y)
CSRCS += httpd_mmap.c
CSRCS += httpd_mmap.c
else
CSRCS += httpd_fs.c
CSRCS += httpd_fs.c
endif
endif

View File

@ -1022,6 +1022,7 @@ static void single_server(uint16_t portno, pthread_startroutine_t handler,
/****************************************************************************
* Public Functions
****************************************************************************/
/****************************************************************************
* Name: httpd_listen
*