X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_tune.c;h=1c80e98fefcbf17fbca8391e8c405b6d5f947966;hb=f4fd83170248b7945de8105a0ecbe13e11dbbcfe;hp=36b2bb0b409984c3a0a2a54428ac70c7b62b1490;hpb=1b8f812fbf8d14bad0fcf9749ac71f640bda2868;p=rrdtool.git diff --git a/src/rrd_tune.c b/src/rrd_tune.c index 36b2bb0..1c80e98 100644 --- a/src/rrd_tune.c +++ b/src/rrd_tune.c @@ -300,14 +300,17 @@ int rrd_tune( break; case 's': strcpy(rrd.stat_head->version, RRD_VERSION); /* smoothing_window causes Version 4 */ - if (set_hwarg(&rrd, CF_SEASONAL, RRA_seasonal_smoothing_window, optarg)) { + if (set_hwarg + (&rrd, CF_SEASONAL, RRA_seasonal_smoothing_window, optarg)) { rrd_free(&rrd); return -1; } break; case 'S': strcpy(rrd.stat_head->version, RRD_VERSION); /* smoothing_window causes Version 4 */ - if (set_hwarg(&rrd, CF_DEVSEASONAL, RRA_seasonal_smoothing_window, optarg)) { + if (set_hwarg + (&rrd, CF_DEVSEASONAL, RRA_seasonal_smoothing_window, + optarg)) { rrd_free(&rrd); return -1; }