From 601e43638e9e7889127634c3ba0949ba9fb917aa Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Thu, 21 Jun 2001 03:19:23 +0000 Subject: - markus@cvs.openbsd.org 2001/06/20 13:56:39 [channels.c channels.h clientloop.c packet.c serverloop.c] move from channel_stop_listening to channel_free_all, call channel_free_all before calling waitpid() in serverloop. fixes the utmp handling; report from Lutz.Jaenicke@aet.TU-Cottbus.DE --- packet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet.c') diff --git a/packet.c b/packet.c index e24b2e87e..64aabb3b0 100644 --- a/packet.c +++ b/packet.c @@ -37,7 +37,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: packet.c,v 1.66 2001/06/12 16:11:26 markus Exp $"); +RCSID("$OpenBSD: packet.c,v 1.67 2001/06/20 13:56:39 markus Exp $"); #include "xmalloc.h" #include "buffer.h" @@ -1085,7 +1085,7 @@ packet_disconnect(const char *fmt,...) packet_write_wait(); /* Stop listening for connections. */ - channel_stop_listening(); + channel_close_all(); /* Close the connection. */ packet_close(); -- cgit v1.2.3