Blob Blame Raw
diff -up nut-2.2.2/drivers/main-hal.c.oldglib2 nut-2.2.2/drivers/main-hal.c
--- nut-2.2.2/drivers/main-hal.c.oldglib2	2011-03-16 15:26:30.505551525 +0100
+++ nut-2.2.2/drivers/main-hal.c	2011-03-16 15:26:30.521551525 +0100
@@ -333,7 +333,7 @@ int main(int argc, char **argv)
 	}
 
 	/* add a timer for data update */
-	g_timeout_add_seconds (poll_interval,
+	g_timeout_add (poll_interval*1000,
 							(GSourceFunc)update_data,
 							NULL);