X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=graph_instance.c;h=103be23860ba2b913633a9c11a4018989e670b26;hb=586ff0da90125e8449db2ee1b5894c5883255daa;hp=d9821d004ce0991f2a40f2c0ae1b4d7ef82501f4;hpb=3dfc071fbc2e15897d1888e7d75c444a7a801189;p=collection4.git diff --git a/graph_instance.c b/graph_instance.c index d9821d0..103be23 100644 --- a/graph_instance.c +++ b/graph_instance.c @@ -288,20 +288,9 @@ int inst_get_rrdargs (graph_config_t *cfg, /* {{{ */ if ((cfg == NULL) || (inst == NULL) || (args == NULL)) return (EINVAL); -/* FIXME: Re-enable title and vertical label stuff. */ -#if 0 - if (cfg->title != NULL) - { - array_append (args, "-t"); - array_append (args, cfg->title); - } - - if (cfg->vertical_label != NULL) - { - array_append (args, "-v"); - array_append (args, cfg->vertical_label); - } -#endif + status = graph_get_rrdargs (cfg, inst, args); + if (status != 0) + return (status); defs = graph_get_defs (cfg); if (defs == NULL)