When specifying post_draw_cmd on the config, it was interpreted as
predraw_cmd instead. Fix the incorrect behavior..
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
str_list = config_setting_get_member(rrd, "post_draw_cmd");
if (str_list) {
read_strings_from_list(str_list, &post_draw_cmd);
- db->pre_draw_cmd = (char *const *)post_draw_cmd;
+ db->post_draw_cmd = (char *const *)post_draw_cmd;
}
config_setting_lookup_string(rrd, "logfile", &logfile);