aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_cfg.c
diff options
context:
space:
mode:
authorreinelt <>2004-03-11 06:39:59 +0000
committerreinelt <>2004-03-11 06:39:59 +0000
commitb241d736825d0469b7716847ee4ef5de269d2423 (patch)
treee3f51842280e06133de00726fa987765d4464f10 /plugin_cfg.c
parent888c37c1b1aa181c76253af8425b2bbbac4bbc4a (diff)
downloadlcd4linux-b241d736825d0469b7716847ee4ef5de269d2423.tar.gz
[lcd4linux @ 2004-03-11 06:39:58 by reinelt]
big patch from Martin: - reuse filehandles - memory leaks fixed - earlier busy-flag checking with HD44780 - reuse memory for strings in RESULT and hash - netdev_fast to wavid time-consuming regex
Diffstat (limited to '')
-rw-r--r--plugin_cfg.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/plugin_cfg.c b/plugin_cfg.c
index 5a853fb..e2abcd7 100644
--- a/plugin_cfg.c
+++ b/plugin_cfg.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_cfg.c,v 1.7 2004/03/06 20:31:16 reinelt Exp $
+/* $Id: plugin_cfg.c,v 1.8 2004/03/11 06:39:59 reinelt Exp $
*
* plugin for config file access
*
@@ -23,6 +23,14 @@
*
*
* $Log: plugin_cfg.c,v $
+ * Revision 1.8 2004/03/11 06:39:59 reinelt
+ * big patch from Martin:
+ * - reuse filehandles
+ * - memory leaks fixed
+ * - earlier busy-flag checking with HD44780
+ * - reuse memory for strings in RESULT and hash
+ * - netdev_fast to wavid time-consuming regex
+ *
* Revision 1.7 2004/03/06 20:31:16 reinelt
* Complete rewrite of the evaluator to get rid of the code
* from mark Morley (because of license issues).
@@ -89,7 +97,7 @@ static void load_variables (void)
char *list, *l, *p;
char *expression;
void *tree;
- RESULT result = {0, 0.0, NULL};
+ RESULT result = {0, 0, 0, NULL};
list=cfg_list(section);
l=list;