From: Guus Sliepen Date: Sat, 23 Mar 2002 20:13:56 +0000 (+0000) Subject: Don't run graph algorithms if no edge is deleted in terminate_connection(). X-Git-Tag: release-1.0pre6~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cbd8133ab4a2ea8a0c46224a5f1ae79e92819e5f;p=oweals%2Ftinc.git Don't run graph algorithms if no edge is deleted in terminate_connection(). --- diff --git a/src/net.c b/src/net.c index 5fd3823..d6809d5 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,11 +198,11 @@ cp } edge_del(c->edge); - } - /* Run MST and SSSP algorithms */ + /* Run MST and SSSP algorithms */ - graph(); + graph(); + } /* Check if this was our outgoing connection */