diff options
author | geronet <geronet@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-25 13:36:33 +0000 |
---|---|---|
committer | geronet <geronet@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-25 13:36:33 +0000 |
commit | f5ca09365013ad01f33db2d2f58b222d6391b38d (patch) | |
tree | 14f52fa897c91489fa612827ff7bbdab42cf0d7b /evaluator.c | |
parent | c5130183e05c6dcb274b6341a05f496acf64aa1f (diff) | |
download | lcd4linux-f5ca09365013ad01f33db2d2f58b222d6391b38d.tar.gz |
[lcd4linux @ 2006-02-25 13:36:33 by geronet]
updated indent.sh, applied coding style
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@647 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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); |