X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgmond.c;h=8c774e536ff9c23e112c3e440d18aa15284478c4;hb=a04ffbda508739433df0975328100e33e7986c87;hp=2ffc42a57d93aadf0b3d3bf080d6566c093592f4;hpb=edd0e2639a241167e213ec301bfc71c7d291ee61;p=collectd.git diff --git a/src/gmond.c b/src/gmond.c index 2ffc42a5..8c774e53 100644 --- a/src/gmond.c +++ b/src/gmond.c @@ -719,7 +719,7 @@ static int mc_handle_metadata_msg (Ganglia_metadata_msg *msg) /* {{{ */ map->type, map->type_instance, ds->ds_num); if (se != NULL) - se->vl.interval = (int) msg_meta.metric.tmax; + se->vl.interval = TIME_T_TO_CDTIME_T (msg_meta.metric.tmax); pthread_mutex_unlock (&staging_lock); if (se == NULL)