summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rest.c b/src/rest.c
index ec6ca63..2256788 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -936,8 +936,8 @@ static int og_set_client_mode(struct og_dbi *dbi, const char *mac,
const char *scope_name)
{
char filename[PATH_MAX + 1] = "/tmp/mode_params_XXXXXX";
- char cmd_params[PATH_MAX + 1] = {};
- char params[PATH_MAX + 1] = "\0";
+ char cmd_params[16384] = {};
+ char params[4096] = "\0";
const char *msglog;
dbi_result result;
unsigned int i;