aboutsummaryrefslogtreecommitdiffstats
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
commit1cdac6bf95aa2bd88a960141ad38a4a4b5cde9f9 (patch)
tree48388c5d19c5e03718b3f0535553d14b99e1d413 /package/uhttpd/src/uhttpd-utils.h
parent117b47080501652dbb5f5f371b23931469b843b2 (diff)
downloadmaster-187ad058-1cdac6bf95aa2bd88a960141ad38a4a4b5cde9f9.tar.gz
master-187ad058-1cdac6bf95aa2bd88a960141ad38a4a4b5cde9f9.tar.bz2
master-187ad058-1cdac6bf95aa2bd88a960141ad38a4a4b5cde9f9.zip
[package] uhttpd: redirect to same location with trailing slash appended if directories are requested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23952 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 6a0a395a91..769e5b45d6 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;
};