From f5ca09365013ad01f33db2d2f58b222d6391b38d Mon Sep 17 00:00:00 2001 From: geronet Date: Sat, 25 Feb 2006 13:36:33 +0000 Subject: [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 --- evaluator.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'evaluator.c') 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); -- cgit v1.2.3