diff options
author | nicowallmeier <nicowallmeier@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-06-24 20:18:08 +0000 |
---|---|---|
committer | nicowallmeier <nicowallmeier@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-06-24 20:18:08 +0000 |
commit | 19319129b58343f70382e6855a4c908bf669b146 (patch) | |
tree | 9faec800366d0e96f261d7c3a2b873c7b97510cc | |
parent | 85062b1574bb15a93abfb8cad81a08d8e26438ba (diff) | |
download | lcd4linux-19319129b58343f70382e6855a4c908bf669b146.tar.gz |
[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
-rwxr-xr-x | plugin_imon.c | 7 |
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'; |