From 19319129b58343f70382e6855a4c908bf669b146 Mon Sep 17 00:00:00 2001 From: nicowallmeier Date: Thu, 24 Jun 2004 20:18:08 +0000 Subject: [lcd4linux @ 2004-06-24 20:18:08 by nicowallmeier] minor bugfix git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@478 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- plugin_imon.c | 7 +++++-- 1 file 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'; -- cgit v1.2.3