uhttpd: fix parameter parsing issue on avr32 and most likely ixp4xx

SVN-Revision: 20532
This commit is contained in:
Jo-Philipp Wich 2010-03-28 02:35:45 +00:00
parent 8779e971ed
commit 4bc74807e4
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=uhttpd PKG_NAME:=uhttpd
PKG_RELEASE:=4 PKG_RELEASE:=5
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
@ -56,6 +56,7 @@ endef
# hack to use CyASSL headers # hack to use CyASSL headers
TARGET_CFLAGS += -I$(firstword $(wildcard $(BUILD_DIR)/cyassl-*/include)) TARGET_CFLAGS += -I$(firstword $(wildcard $(BUILD_DIR)/cyassl-*/include))
TARGET_LDFLAGS += -lm
MAKE_VARS += FPIC="$(FPIC)" MAKE_VARS += FPIC="$(FPIC)"
define Build/Prepare define Build/Prepare

View File

@ -422,7 +422,7 @@ int main (int argc, char **argv)
int nofork = 0; int nofork = 0;
/* args */ /* args */
char opt; int opt;
char bind[128]; char bind[128];
char *port = NULL; char *port = NULL;