diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-20 13:45:50 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-20 13:45:50 +0000 |
commit | 0f18174879e121e5c5a64de0e3cb88a9c78e2b37 (patch) | |
tree | b6baf4fa1aacd49304075b00765e70c8ff0eb3fe /contrib/package/uhttpd/src/uhttpd-utils.h | |
parent | 66ffcefa5555b35fc2e71429d9be16ac6de82801 (diff) |
uhttpd:
- rework url parsing and path resolving
- handle more cgi quirks
- change request dispatching
- clean up cflags
Diffstat (limited to 'contrib/package/uhttpd/src/uhttpd-utils.h')
-rw-r--r-- | contrib/package/uhttpd/src/uhttpd-utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/uhttpd/src/uhttpd-utils.h b/contrib/package/uhttpd/src/uhttpd-utils.h index ec7dbcb9b4..01b95afca7 100644 --- a/contrib/package/uhttpd/src/uhttpd-utils.h +++ b/contrib/package/uhttpd/src/uhttpd-utils.h @@ -4,8 +4,8 @@ #include <fcntl.h> #include <sys/stat.h> -#define min(x, y) ((x) < (y)) ? (x) : (y) -#define max(x, y) ((x) > (y)) ? (x) : (y) +#define min(x, y) (((x) < (y)) ? (x) : (y)) +#define max(x, y) (((x) > (y)) ? (x) : (y)) #define array_size(x) \ (sizeof(x) / sizeof(x[0])) |