From e09044e963015cf672d0f992264ee1563717602a Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Mon, 16 Apr 2001 15:12:16 +0000 Subject: Indentation --- lib/hash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/hash.c') diff --git a/lib/hash.c b/lib/hash.c index 207439d..1def58f 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -9,7 +9,7 @@ static char *CHAINEHACHAGE = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX static int FonctionHachage(char *clef) { unsigned int i; - + if (!clef) { exception(1, _("Internal error into hashing")); } @@ -39,6 +39,7 @@ static _ListeChaine InserTete(_ListeChaine l, _Element e) aux = (_ListeChaine) Emalloc(sizeof(struct _LstChn)); aux->Elem.NomVar = (char *) Emalloc(sizeof(char) * (strlen(e.NomVar) + 1)); + for (i = 0; i <= strlen(e.NomVar); i++) { aux->Elem.NomVar[i] = e.NomVar[i]; } -- cgit v1.2.3