From: Manuel Luis SanmartĂ­n Rozada Date: Thu, 19 Jun 2014 17:51:28 +0000 (+0200) Subject: FLUSH cmd: convert timeout (double) to cdtime_t X-Git-Tag: collectd-5.5.0~279^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8f741209bba9563c910395da8fe93775614e8dbe;p=collectd.git FLUSH cmd: convert timeout (double) to cdtime_t as the previous call to plugin_flush --- diff --git a/src/utils_cmd_flush.c b/src/utils_cmd_flush.c index 3584f3b7..d71074a5 100644 --- a/src/utils_cmd_flush.c +++ b/src/utils_cmd_flush.c @@ -168,7 +168,7 @@ int handle_flush (FILE *fh, char *buffer) } else { - plugin_flush (NULL, timeout, NULL); + plugin_flush (NULL, DOUBLE_TO_CDTIME_T (timeout), NULL); print_to_socket (fh, "0 Done\n"); }