diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-04-01 16:22:38 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-04-01 16:22:38 +0000 |
commit | 194757539bf5f48d105f2739502c8b91af650ec8 (patch) | |
tree | df480393832682f2a85968d30024b34c43d6766a /processor.c | |
parent | 6104a8cef9a1a0e88fe95a23d17447e14d33d2ea (diff) | |
download | lcd4linux-194757539bf5f48d105f2739502c8b91af650ec8.tar.gz |
[lcd4linux @ 2000-04-01 16:22:38 by reinelt]
bug that caused a segfault in processor.c fixed (thanks to herp)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@29 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'processor.c')
-rw-r--r-- | processor.c | 8 |
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)); } } |