From e8c87555b1f9b35f3b72b1ee19dd3e2d35fbc88d Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 22 Jul 2014 16:07:00 +1000 Subject: [PATCH] Allow zero length useragent names in ckdb --- src/ckdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ckdb.c b/src/ckdb.c index 60c2b291..fc0e0ea4 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -5517,7 +5517,7 @@ static char *cmd_auth(char *cmd, char *id, tv_t *now, char *by, char *code, char if (!i_enonce1) return strdup(reply); - i_useragent = require_name("useragent", 1, NULL, reply, siz); + i_useragent = require_name("useragent", 0, NULL, reply, siz); if (!i_useragent) return strdup(reply);