From 2c0047ea192062ba8114d9b049fac5937c4391ba Mon Sep 17 00:00:00 2001 From: Francois Donnet Date: Fri, 23 Aug 2002 08:57:58 +0000 Subject: [PATCH] bug dans la table de hash repertoriant les arcs entre les noeuds soit on prend le pointeur sur le noeud, soit on prend son nom... le choix: table basee sur le nom des noeuds --- alliance/src/aut/src/autgraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alliance/src/aut/src/autgraph.c b/alliance/src/aut/src/autgraph.c index 572fd634..329b3336 100644 --- a/alliance/src/aut/src/autgraph.c +++ b/alliance/src/aut/src/autgraph.c @@ -221,7 +221,7 @@ autarc_list *addautgrapharc( Graph, NodeFrom, NodeTo ) NodeFrom->ARC_FROM = addchain( NodeFrom->ARC_FROM, Arc ); NodeTo->ARC_TO = addchain( NodeTo->ARC_TO , Arc ); - addauth2elem( Graph->HASH_ARC, (char *)NodeFrom, (char *)NodeTo, (long)Arc ); + addauth2elem( Graph->HASH_ARC, NodeFrom->NAME, NodeTo->NAME, (long)Arc ); return( Arc ); }