diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-03-03 04:44:16 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-03-03 04:44:16 +0000 |
commit | b9a217e0dc5906e07b9f1e4674e9b797b6dd9b46 (patch) | |
tree | bf6491cefb0134736fc5f971226f54074be7324f /plugin_imon.c | |
parent | 9ef4282e9e32e857f4d0cac9df6d58f2cba159f4 (diff) | |
download | lcd4linux-b9a217e0dc5906e07b9f1e4674e9b797b6dd9b46.tar.gz |
[lcd4linux @ 2004-03-03 04:44:16 by reinelt]
changes (cosmetics?) to the big patch from Martin
hash patch un-applied
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@385 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_imon.c')
-rwxr-xr-x | plugin_imon.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/plugin_imon.c b/plugin_imon.c index b2ec22f..7debb54 100755 --- a/plugin_imon.c +++ b/plugin_imon.c @@ -1,4 +1,4 @@ -/* $Id: plugin_imon.c,v 1.3 2004/03/03 03:47:04 reinelt Exp $ +/* $Id: plugin_imon.c,v 1.4 2004/03/03 04:44:16 reinelt Exp $ * * imond/telmond data processing * @@ -22,6 +22,10 @@ * * * $Log: plugin_imon.c,v $ + * Revision 1.4 2004/03/03 04:44:16 reinelt + * changes (cosmetics?) to the big patch from Martin + * hash patch un-applied + * * Revision 1.3 2004/03/03 03:47:04 reinelt * big patch from Martin Hejl: * - use qprintf() where appropriate @@ -41,9 +45,9 @@ #include "config.h" #include "debug.h" #include "plugin.h" +#include "qprintf.h" #include "cfg.h" #include "hash.h" -#include "qprintf.h" #include <stdio.h> #include <string.h> @@ -436,9 +440,9 @@ int plugin_init_imon (void){ if (telmon=='\1') AddFunction ("telmon", 1, my_telmon); if (imon=='\1'){ - AddFunction ("imon", 1, my_imon); - AddFunction ("version", 0, my_imon_version); - AddFunction ("rates", 2, my_imon_rates); + AddFunction ("imon", 1, my_imon); + AddFunction ("version", 0, my_imon_version); + AddFunction ("rates", 2, my_imon_rates); } return 0; @@ -446,6 +450,6 @@ int plugin_init_imon (void){ void plugin_exit_imon(void) { - hash_destroy(&TELMON); - hash_destroy(&IMON); + hash_destroy(&TELMON); + hash_destroy(&IMON); } |