summaryrefslogtreecommitdiff
path: root/package/uhttpd/src/uhttpd-utils.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-10 20:52:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-10 20:52:30 +0000
commit5931a158a4df45904b28bcd8e85cbddca61e4b7d (patch)
treefb751b937da3f72bab5d5b31e444b2ba61f5a453 /package/uhttpd/src/uhttpd-utils.h
parent507986e6f60fc306baddec6229f0e100df28c666 (diff)
downloadmtk-20170518-5931a158a4df45904b28bcd8e85cbddca61e4b7d.zip
mtk-20170518-5931a158a4df45904b28bcd8e85cbddca61e4b7d.tar.gz
mtk-20170518-5931a158a4df45904b28bcd8e85cbddca61e4b7d.tar.bz2
uhttpd: redirect to same location with trailing slash appended if directories are requested
SVN-Revision: 23952
Diffstat (limited to 'package/uhttpd/src/uhttpd-utils.h')
-rw-r--r--package/uhttpd/src/uhttpd-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/uhttpd/src/uhttpd-utils.h b/package/uhttpd/src/uhttpd-utils.h
index 6a0a395..769e5b4 100644
--- a/package/uhttpd/src/uhttpd-utils.h
+++ b/package/uhttpd/src/uhttpd-utils.h
@@ -52,6 +52,7 @@ struct path_info {
char *name;
char *info;
char *query;
+ int redirected;
struct stat stat;
};