aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <>2004-01-21 11:31:23 +0000
committerreinelt <>2004-01-21 11:31:23 +0000
commit5a1c1413ba6a027e81f6bcf81b3af2efb7e7fee0 (patch)
treee7cfc08e66c6d9fd79ad641cbf08a82ab5085ad9
parent25221f8a2f8be7d5a1d6c51af09d33872e9f3a5a (diff)
downloadlcd4linux-5a1c1413ba6a027e81f6bcf81b3af2efb7e7fee0.tar.gz
[lcd4linux @ 2004-01-21 11:31:23 by reinelt]
two bugs with hash_age() ixed
Diffstat (limited to '')
-rw-r--r--plugin_proc_stat.c6
-rw-r--r--plugin_xmms.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/plugin_proc_stat.c b/plugin_proc_stat.c
index d7d56c8..53cd81b 100644
--- a/plugin_proc_stat.c
+++ b/plugin_proc_stat.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_proc_stat.c,v 1.7 2004/01/21 10:48:17 reinelt Exp $
+/* $Id: plugin_proc_stat.c,v 1.8 2004/01/21 11:31:23 reinelt Exp $
*
* plugin for /proc/stat parsing
*
@@ -23,6 +23,9 @@
*
*
* $Log: plugin_proc_stat.c,v $
+ * Revision 1.8 2004/01/21 11:31:23 reinelt
+ * two bugs with hash_age() ixed
+ *
* Revision 1.7 2004/01/21 10:48:17 reinelt
* hash_age function added
*
@@ -100,6 +103,7 @@ static void hash_set3 (char *key1, char *key2, char *key3, char *val)
static int parse_proc_stat (void)
{
+ int age;
FILE *stream;
// reread every 10 msec only
diff --git a/plugin_xmms.c b/plugin_xmms.c
index eacf675..861cc27 100644
--- a/plugin_xmms.c
+++ b/plugin_xmms.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_xmms.c,v 1.5 2004/01/21 10:48:17 reinelt Exp $
+/* $Id: plugin_xmms.c,v 1.6 2004/01/21 11:31:23 reinelt Exp $
*
* XMMS-Plugin for LCD4Linux
* Copyright 2003 Markus Keil <markus_keil@t-online.de>
@@ -21,6 +21,9 @@
*
*
* $Log: plugin_xmms.c,v $
+ * Revision 1.6 2004/01/21 11:31:23 reinelt
+ * two bugs with hash_age() ixed
+ *
* Revision 1.5 2004/01/21 10:48:17 reinelt
* hash_age function added
*
@@ -82,6 +85,7 @@ static HASH xmms = { 0, };
static int parse_xmms_info (void)
{
+ int age;
FILE *xmms_stream;
char zeile[200];