summaryrefslogtreecommitdiff
path: root/apps/netutils/thttpd/libhttpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/netutils/thttpd/libhttpd.c')
-rw-r--r--apps/netutils/thttpd/libhttpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/netutils/thttpd/libhttpd.c b/apps/netutils/thttpd/libhttpd.c
index 9bb4e242f..34f829a28 100644
--- a/apps/netutils/thttpd/libhttpd.c
+++ b/apps/netutils/thttpd/libhttpd.c
@@ -2,7 +2,7 @@
* netutils/thttpd/libhttpd.c
* HTTP Protocol Library
*
- * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Derived from the file of the same name in the original THTTPD package:
@@ -1913,8 +1913,9 @@ static int check_referer(httpd_conn *hc)
/* Are we doing referer checking at all? */
#ifdef CONFIG_THTTPD_URLPATTERN
- int r;
char *cp;
+ int r;
+ int child;
child = really_check_referer(hc);