Browse Source

Allow zero length useragent names in ckdb

master
Con Kolivas 11 years ago
parent
commit
e8c87555b1
  1. 2
      src/ckdb.c

2
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) if (!i_enonce1)
return strdup(reply); return strdup(reply);
i_useragent = require_name("useragent", 1, NULL, reply, siz); i_useragent = require_name("useragent", 0, NULL, reply, siz);
if (!i_useragent) if (!i_useragent)
return strdup(reply); return strdup(reply);

Loading…
Cancel
Save