From: Guus Sliepen Date: Mon, 20 Nov 2000 23:29:47 +0000 (+0000) Subject: - More fixes. X-Git-Tag: release-1.0pre4~152 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=da9a1e8084a9b73306bdbc541ee8af938c3e7754;p=tinc - More fixes. --- diff --git a/src/net.c b/src/net.c index f1593b6e..c16a261b 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.79 2000/11/20 22:13:03 guus Exp $ + $Id: net.c,v 1.35.4.80 2000/11/20 23:29:46 guus Exp $ */ #include "config.h" @@ -1115,7 +1115,6 @@ void terminate_connection(connection_t *cl) connection_t *p; subnet_t *subnet; rbl_t *rbl; - cp if(cl->status.remove) return; @@ -1131,7 +1130,6 @@ cp if(cl->status.meta) close(cl->meta_socket); -cp /* Find all connections that were lost because they were behind cl (the connection that was dropped). */ diff --git a/src/process.c b/src/process.c index ca992dc3..eb066abc 100644 --- a/src/process.c +++ b/src/process.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: process.c,v 1.1.2.6 2000/11/20 22:13:12 guus Exp $ + $Id: process.c,v 1.1.2.7 2000/11/20 23:29:47 guus Exp $ */ #include "config.h" @@ -252,12 +252,10 @@ cp "fork"); return -1; } -cp + if(pid) { - syslog(LOG_DEBUG, "%p, %d (%p)", child_pids, pid, &pid); list_append(child_pids, &pid); -cp return 0; } cp