Mercurial > hg > freeDiameter
changeset 180:80a8605ab4db
Countdown to next status
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Wed, 03 Feb 2010 18:19:04 +0900 |
parents | 0ea50d66ad1b |
children | 1f39f0c51094 |
files | extensions/dbg_monitor/dbg_monitor.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/dbg_monitor/dbg_monitor.c Wed Feb 03 18:08:10 2010 +0900 +++ b/extensions/dbg_monitor/dbg_monitor.c Wed Feb 03 18:19:04 2010 +0900 @@ -77,9 +77,9 @@ while (1) { #ifdef DEBUG int i; - for (i=0; i<30; i++) { + for (i=30; i>0; i--) { + fd_log_debug("[dbg_monitor] %i\n", i); /* This makes it easier to detect inactivity periods in the log file */ sleep(1); - fd_log_debug("[dbg_monitor]\n"); /* This makes it easier to detect inactivity periods in the log file */ } #else /* DEBUG */ sleep(3600); /* 1 hour */