From 7996b9d05c297afa228c345e74deae573e9ad659 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Thu, 11 Sep 2008 03:22:37 +0000 Subject: [PATCH] oops, remove debug stuff git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1246 7f574dfc-610e-0410-a909-a81674777703 --- src/conky.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conky.c b/src/conky.c index d416260d..f30f6ee1 100644 --- a/src/conky.c +++ b/src/conky.c @@ -5344,7 +5344,7 @@ static void generate_text_internal(char *p, int p_max_size, #endif #ifdef HDDTEMP OBJ(hddtemp) { -// if (obj->data.hddtemp.update_time < current_update_time - 30) { + if (obj->data.hddtemp.update_time < current_update_time - 30) { char *str = get_hddtemp_info(obj->data.hddtemp.dev, obj->data.hddtemp.addr, obj->data.hddtemp.port, &obj->data.hddtemp.unit); if (str) { @@ -5353,7 +5353,7 @@ static void generate_text_internal(char *p, int p_max_size, obj->data.hddtemp.temp[0] = 0; } obj->data.hddtemp.update_time = current_update_time; -// } + } if (!obj->data.hddtemp.temp) { snprintf(p, p_max_size, "N/A"); } else if (obj->data.hddtemp.unit == '*') {