Don't run graph algorithms if no edge is deleted in terminate_connection().
This commit is contained in:
parent
6aee1ad021
commit
cbd8133ab4
1 changed files with 5 additions and 5 deletions
10
src/net.c
10
src/net.c
|
@ -17,7 +17,7 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
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"
|
#include "config.h"
|
||||||
|
@ -198,12 +198,12 @@ cp
|
||||||
}
|
}
|
||||||
|
|
||||||
edge_del(c->edge);
|
edge_del(c->edge);
|
||||||
|
|
||||||
|
/* Run MST and SSSP algorithms */
|
||||||
|
|
||||||
|
graph();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Run MST and SSSP algorithms */
|
|
||||||
|
|
||||||
graph();
|
|
||||||
|
|
||||||
/* Check if this was our outgoing connection */
|
/* Check if this was our outgoing connection */
|
||||||
|
|
||||||
if(c->outgoing)
|
if(c->outgoing)
|
||||||
|
|
Loading…
Reference in a new issue