diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-20 14:31:05 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-20 14:31:05 +0000 |
commit | 074690aa549db034b9d1599b9fa38dfd577db868 (patch) | |
tree | 5e5565364aea7181ddde3c3c0a0a4ad99b3eb4de /contrib/package/uhttpd/src/uhttpd-file.c | |
parent | 35e6a59ef269829e4838aa748dfd93c5441083c2 (diff) |
uhttpd: rename struct uh_path_info to path_info, drop wdir member
Diffstat (limited to 'contrib/package/uhttpd/src/uhttpd-file.c')
-rw-r--r-- | contrib/package/uhttpd/src/uhttpd-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/uhttpd/src/uhttpd-file.c b/contrib/package/uhttpd/src/uhttpd-file.c index 6e083cb7db..63c2d7e4fd 100644 --- a/contrib/package/uhttpd/src/uhttpd-file.c +++ b/contrib/package/uhttpd/src/uhttpd-file.c @@ -248,7 +248,7 @@ static int uh_file_scandir_filter_dir(const struct dirent *e) return strcmp(e->d_name, ".") ? 1 : 0; } -static void uh_file_dirlist(struct client *cl, struct http_request *req, struct uh_path_info *pi) +static void uh_file_dirlist(struct client *cl, struct http_request *req, struct path_info *pi) { int i, count; char filename[PATH_MAX]; @@ -314,7 +314,7 @@ static void uh_file_dirlist(struct client *cl, struct http_request *req, struct } -void uh_file_request(struct client *cl, struct http_request *req, struct uh_path_info *pi) +void uh_file_request(struct client *cl, struct http_request *req, struct path_info *pi) { int fd, rlen; char buf[UH_LIMIT_MSGHEAD]; |