aboutsummaryrefslogtreecommitdiffstats
path: root/processor.c
diff options
context:
space:
mode:
authorreinelt <>2000-04-01 16:22:38 +0000
committerreinelt <>2000-04-01 16:22:38 +0000
commitdf41b150383642b71e7c72d7155be7969925c9b4 (patch)
treedf480393832682f2a85968d30024b34c43d6766a /processor.c
parente5efcf823942529cf1491cc4b677b0c01126a39c (diff)
downloadlcd4linux-df41b150383642b71e7c72d7155be7969925c9b4.tar.gz
[lcd4linux @ 2000-04-01 16:22:38 by reinelt]
bug that caused a segfault in processor.c fixed (thanks to herp)
Diffstat (limited to '')
-rw-r--r--processor.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/processor.c b/processor.c
index c381e72..f388813 100644
--- a/processor.c
+++ b/processor.c
@@ -1,4 +1,4 @@
-/* $Id: processor.c,v 1.2 2000/03/23 07:24:48 reinelt Exp $
+/* $Id: processor.c,v 1.3 2000/04/01 16:22:38 reinelt Exp $
*
* main data processing
*
@@ -20,6 +20,10 @@
*
*
* $Log: processor.c,v $
+ * Revision 1.3 2000/04/01 16:22:38 reinelt
+ *
+ * bug that caused a segfault in processor.c fixed (thanks to herp)
+ *
* Revision 1.2 2000/03/23 07:24:48 reinelt
*
* PPM driver up and running (but slow!)
@@ -378,7 +382,7 @@ void process_init (void)
for (i=1; i<=rows; i++) {
snprintf (buffer, sizeof(buffer), "row%d", i);
- row[i]=strdup(parse(cfg_get(buffer), supported_bars, token_usage));
+ row[i]=strdup(parse(cfg_get(buffer)?:"", supported_bars, token_usage));
}
}