X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconf.c;h=f5211521e85eb5b5836994dab1d2d1946cbc3d2a;hp=f7019d14a8e7a3a9227500cfdd0a02c0429e327d;hb=b657f0519456d05bcea5742017165793f79e56df;hpb=e449d94caef963809d417f16497f6f978e10d731 diff --git a/src/conf.c b/src/conf.c index f7019d14..f5211521 100644 --- a/src/conf.c +++ b/src/conf.c @@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: conf.c,v 1.9.4.66 2003/07/17 15:06:26 guus Exp $ + $Id: conf.c,v 1.9.4.67 2003/07/18 14:10:27 guus Exp $ */ #include "system.h" @@ -417,6 +417,7 @@ int read_server_config() int is_safe_path(const char *file) { +#if !(defined(HAVE_CYGWIN) || defined(HAVE_MINGW)) char *p; const char *f; char x; @@ -499,6 +500,7 @@ check2: logger(LOG_ERR, _("`%s' has unsecure permissions"), f); return 0; } +#endif return 1; }