Signed-off-by: Vitezslav Samel <vitezslav(a)samel.cz>
---
src/hostmon.c | 2 +-
src/options.h | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/hostmon.c b/src/hostmon.c
index 125c775..1e45e8b 100644
--- a/src/hostmon.c
+++ b/src/hostmon.c
@@ -857,7 +857,7 @@ void hostmon(const struct OPTIONS *options, time_t facilitytime, char
*ifptr,
if (((options->updrate != 0)
&& (now - updtime >= options->updrate))
|| ((options->updrate == 0)
- && (unow - updtime_usec >= HOSTMON_UPDATE_DELAY))) {
+ && (unow - updtime_usec >= DEFAULT_UPDATE_DELAY))) {
update_panels();
doupdate();
updtime = now;
diff --git a/src/options.h b/src/options.h
index 80299a3..a0dee10 100644
--- a/src/options.h
+++ b/src/options.h
@@ -11,6 +11,5 @@ struct OPTIONS {
};
#define DEFAULT_UPDATE_DELAY 50000 /* usec screen delay if update rate 0 */
-#define HOSTMON_UPDATE_DELAY 100000
#endif /* IPTRAF_NG_OPTIONS_H */
--
1.7.8.4