aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_imon.c
diff options
context:
space:
mode:
authornicowallmeier <>2004-06-24 20:18:08 +0000
committernicowallmeier <>2004-06-24 20:18:08 +0000
commit8c92564c5979c79c34d37ca9b8f5f960550263f7 (patch)
tree9faec800366d0e96f261d7c3a2b873c7b97510cc /plugin_imon.c
parent5e6aa3c65dccc481b924e67b53d6ee012f2cc20f (diff)
downloadlcd4linux-8c92564c5979c79c34d37ca9b8f5f960550263f7.tar.gz
[lcd4linux @ 2004-06-24 20:18:08 by nicowallmeier]
minor bugfix
Diffstat (limited to '')
-rwxr-xr-xplugin_imon.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugin_imon.c b/plugin_imon.c
index d80c0bf..30def5d 100755
--- a/plugin_imon.c
+++ b/plugin_imon.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_imon.c,v 1.10 2004/06/20 10:09:56 reinelt Exp $
+/* $Id: plugin_imon.c,v 1.11 2004/06/24 20:18:08 nicowallmeier Exp $
*
* imond/telmond data processing
*
@@ -22,6 +22,9 @@
*
*
* $Log: plugin_imon.c,v $
+ * Revision 1.11 2004/06/24 20:18:08 nicowallmeier
+ * minor bugfix
+ *
* Revision 1.10 2004/06/20 10:09:56 reinelt
*
* 'const'ified the whole source
@@ -421,11 +424,11 @@ static void my_imon (RESULT *result, RESULT *arg1){
int plugin_init_imon (void){
char telmon='\1',imon='\1';
+ char *s=cfg_get ("Plugin:Telmon", "Host","127.0.0.1");
hash_create(&TELMON);
hash_create(&IMON);
- char *s=cfg_get ("Plugin:Telmon", "Host","127.0.0.1");
if (*s=='\0') {
error ("[Telmon] no 'Host' entry in %s", cfg_source());
telmon='\0';