conf_parser: warning fixes

This commit is contained in:
William Pitcock 2016-06-18 00:52:54 -05:00
parent e55a9d6abc
commit 1e37cb443d

View file

@ -291,7 +291,7 @@ loadmodule:
char *m_bn;
m_bn = rb_basename((char *) $2);
if (findmodule_byname(m_bn) == -1)
if (findmodule_byname(m_bn) == NULL)
{
load_one_module($2, MAPI_ORIGIN_EXTENSION, 0);
}