process_config_update didn't handle filter type which caused erroneous message being printed to error log.

This commit is contained in:
VilhoRaatikka 2014-06-05 21:09:23 +03:00
parent 1a43a4868f
commit 047dd5f90e

View File

@ -641,7 +641,7 @@ int error_count = 0;
}
}
else if (strcmp(type, "server") != 0
&& strcmp(type, "filter") != 0)
&& strcmp(type, "filter") != 0)
{
LOGIF(LE, (skygw_log_write_flush(
LOGFILE_ERROR,
@ -1152,7 +1152,8 @@ SERVER *server;
}
}
else if (strcmp(type, "server") != 0 &&
strcmp(type, "monitor") != 0)
strcmp(type, "monitor") != 0 &&
strcmp(type, "filter") != 0)
{
LOGIF(LE, (skygw_log_write_flush(
LOGFILE_ERROR,