summaryrefslogtreecommitdiff
path: root/uhttpd.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-31 15:28:17 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-12-31 15:28:17 +0100
commita733c4983025f9cbd1eb124a9926d115e4bf0457 (patch)
treef21dcded49622c22b49520c55ef47482899c27bf /uhttpd.h
parent88dc4e3e572b015e9240d22de2a07f3ca6c39e00 (diff)
downloaduhttpd2-a733c4983025f9cbd1eb124a9926d115e4bf0457.tar.gz
use the new calloc_a function from libubox
Diffstat (limited to 'uhttpd.h')
-rw-r--r--uhttpd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/uhttpd.h b/uhttpd.h
index c023aff..1e487f8 100644
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -28,6 +28,7 @@
#include <libubox/uloop.h>
#include <libubox/ustream.h>
#include <libubox/blob.h>
+#include <libubox/utils.h>
#include "utils.h"
@@ -52,9 +53,9 @@ struct config {
struct auth_realm {
struct list_head list;
- char path[PATH_MAX];
- char user[32];
- char pass[128];
+ char *path;
+ char *user;
+ char *pass;
};
enum http_method {