From cbd8133ab4a2ea8a0c46224a5f1ae79e92819e5f Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 23 Mar 2002 20:13:56 +0000 Subject: [PATCH] Don't run graph algorithms if no edge is deleted in terminate_connection(). --- src/net.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/net.c b/src/net.c index 5fd38235..d6809d5f 100644 --- a/src/net.c +++ b/src/net.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net.c,v 1.35.4.165 2002/03/22 11:43:46 guus Exp $ + $Id: net.c,v 1.35.4.166 2002/03/23 20:13:56 guus Exp $ */ #include "config.h" @@ -198,12 +198,12 @@ cp } edge_del(c->edge); + + /* Run MST and SSSP algorithms */ + + graph(); } - /* Run MST and SSSP algorithms */ - - graph(); - /* Check if this was our outgoing connection */ if(c->outgoing)