X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=lib%2Fdropin.c;h=d7658c769052acd8ffde252072a594fd3b1d3d07;hb=36cbaa32f480b481bf2ee99fd4835586a02ebc60;hp=c26a357c449ea5a5d36bc64d9c6568f209088b56;hpb=25a804c94ef0dbc4e5582ea6d8459d5f9a3fe06c;p=tinc diff --git a/lib/dropin.c b/lib/dropin.c index c26a357c..d7658c76 100644 --- a/lib/dropin.c +++ b/lib/dropin.c @@ -1,7 +1,7 @@ /* dropin.c -- a set of drop-in replacements for libc functions - Copyright (C) 2000,2001 Ivo Timmermans , - 2000,2001 Guus Sliepen + Copyright (C) 2000,2001 Ivo Timmermans , + 2000,2001 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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: dropin.c,v 1.1.2.5 2001/11/05 19:06:07 guus Exp $ + $Id: dropin.c,v 1.1.2.10 2002/06/21 10:11:11 guus Exp $ */ #include "config.h" @@ -28,12 +28,15 @@ #include #include #include +#include #include #include #include +#include "fake-getnameinfo.c" + #ifndef HAVE_DAEMON /* Replacement for the daemon() function. @@ -97,6 +100,8 @@ int daemon(int nochdir, int noclose) dup2(fd, 2); } } + + return 0; } #endif