summaryrefslogtreecommitdiff
path: root/lib/hash.c
diff options
context:
space:
mode:
authorPixel <>2001-04-16 15:12:16 +0000
committerPixel <>2001-04-16 15:12:16 +0000
commite09044e963015cf672d0f992264ee1563717602a (patch)
tree1a55d7d5e46401a41ca7bc24e597d90b0b720601 /lib/hash.c
parent3953a2906211a6c0007079dcafe66aa372ab33d1 (diff)
Indentation
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c3
1 files changed, 2 insertions, 1 deletions
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];
}