From f27536bd017902cb39c208ec346775b592fb56be Mon Sep 17 00:00:00 2001
From: nicowallmeier <>
Date: Mon, 4 Apr 2005 20:11:14 +0000
Subject: [lcd4linux @ 2005-04-04 20:11:14 by nicowallmeier] to be compatible
with gcc 2.95
---
plugin_imon.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/plugin_imon.c b/plugin_imon.c
index 3e27006..2a7616e 100755
--- a/plugin_imon.c
+++ b/plugin_imon.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_imon.c,v 1.15 2005/04/01 05:16:04 reinelt Exp $
+/* $Id: plugin_imon.c,v 1.16 2005/04/04 20:11:14 nicowallmeier Exp $
*
* imond/telmond data processing
*
@@ -22,6 +22,9 @@
*
*
* $Log: plugin_imon.c,v $
+ * Revision 1.16 2005/04/04 20:11:14 nicowallmeier
+ * to be compatible with gcc 2.95
+ *
* Revision 1.15 2005/04/01 05:16:04 reinelt
* moved plugin init stuff to a seperate function called on first use
*
@@ -426,6 +429,7 @@ static int configure_imon (void)
static void my_imon_version (RESULT *result)
{
char *val;
+ int age;
if (configure_imon() < 0) {
SetResult(&result, R_STRING, "");
@@ -433,7 +437,7 @@ static void my_imon_version (RESULT *result)
}
/* read only once */
- int age=hash_age(&IMON, "version");
+ age=hash_age(&IMON, "version");
if (age<0){
char *s;
init();
--
cgit v1.2.3
class='tabs'>
|
summaryrefslogtreecommitdiffstats |
|