Fix moudle command debug assertion

The names can be of different case.
This commit is contained in:
Markus Mäkelä 2018-05-28 11:44:55 +03:00
parent 4a3216d483
commit e858ef672c
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -482,7 +482,7 @@ bool modulecmd_cb(const MODULECMD *cmd, void *data)
std::string s = d->domain;
s += "/";
s += cmd->identifier;
ss_dassert(strcmp(d->domain, cmd->domain) == 0);
ss_dassert(strcasecmp(d->domain, cmd->domain) == 0);
json_object_set_new(obj, CN_LINKS, mxs_json_self_link(d->host, CN_MODULES, s.c_str()));
json_object_set_new(attr, CN_PARAMETERS, param);