diff options
author | geronet <> | 2006-02-25 13:36:33 +0000 |
---|---|---|
committer | geronet <> | 2006-02-25 13:36:33 +0000 |
commit | 440ecfb4a2b273bfa1d11fc201793a98b02add51 (patch) | |
tree | 14f52fa897c91489fa612827ff7bbdab42cf0d7b /evaluator.c | |
parent | cc361935c1791caee0fcb3a8dbc9e365b3ca2b87 (diff) | |
download | lcd4linux-440ecfb4a2b273bfa1d11fc201793a98b02add51.tar.gz |
[lcd4linux @ 2006-02-25 13:36:33 by geronet]
updated indent.sh, applied coding style
Diffstat (limited to 'evaluator.c')
-rw-r--r-- | evaluator.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/evaluator.c b/evaluator.c index d22bbfa..8b4dbc9 100644 --- a/evaluator.c +++ b/evaluator.c @@ -1,4 +1,4 @@ -/* $Id: evaluator.c,v 1.30 2006/01/30 12:53:08 reinelt Exp $ +/* $Id: evaluator.c,v 1.31 2006/02/25 13:36:33 geronet Exp $ * * expression evaluation * @@ -23,6 +23,9 @@ * * * $Log: evaluator.c,v $ + * Revision 1.31 2006/02/25 13:36:33 geronet + * updated indent.sh, applied coding style + * * Revision 1.30 2006/01/30 12:53:08 reinelt * replaced strncpy with strcpy where possible * @@ -380,7 +383,7 @@ RESULT *SetResult(RESULT ** result, const int type, const void *value) if ((*result)->string) free((*result)->string); /* allocate memory in multiples of CHUNK_SIZE */ - (*result)->size = CHUNK_SIZE * ((len+1) / CHUNK_SIZE + 1); + (*result)->size = CHUNK_SIZE * ((len + 1) / CHUNK_SIZE + 1); (*result)->string = malloc((*result)->size); } strcpy((*result)->string, value); |