summaryrefslogtreecommitdiff
path: root/package/uboot-lantiq/patches/200-httpd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/uboot-lantiq/patches/200-httpd.patch')
-rw-r--r--package/uboot-lantiq/patches/200-httpd.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/uboot-lantiq/patches/200-httpd.patch b/package/uboot-lantiq/patches/200-httpd.patch
index 3c7bdbd4a6..b0ab3b6afd 100644
--- a/package/uboot-lantiq/patches/200-httpd.patch
+++ b/package/uboot-lantiq/patches/200-httpd.patch
@@ -5647,13 +5647,11 @@
--- a/common/main.c
+++ b/common/main.c
-@@ -273,6 +273,10 @@ static __inline__ int abortboot(int boot
+@@ -273,6 +273,8 @@ static __inline__ int abortboot(int boot
void main_loop (void)
{
-+#ifdef CONFIG_CMD_HTTPD
+ int ret;
-+#endif
+
#ifndef CONFIG_SYS_HUSH_PARSER
static char lastcommand[CONFIG_SYS_CBSIZE] = { 0, };