X-Git-Url: http://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcygwin%2Fdevice.c;h=34922fdfbbe9ff688d2d89bc1b828713fb6486ae;hb=7926a156e5b118d06295228e57de0cc9de0433b4;hp=0ae6780ddec50c4c6f65dae6465134b50a40834b;hpb=dc3b7d47f3297e22161787a1d6e06205140cf0fb;p=tinc diff --git a/src/cygwin/device.c b/src/cygwin/device.c index 0ae6780d..34922fdf 100644 --- a/src/cygwin/device.c +++ b/src/cygwin/device.c @@ -1,7 +1,7 @@ /* device.c -- Interaction with Windows tap driver in a Cygwin environment - Copyright (C) 2002-2003 Ivo Timmermans , - 2002-2003 Guus Sliepen + Copyright (C) 2002-2004 Ivo Timmermans , + 2002-2004 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: device.c,v 1.3 2003/08/27 13:47:47 guus Exp $ + $Id$ */ #include "system.h" @@ -59,7 +59,7 @@ int sp[2]; bool setup_device(void) { HKEY key, key2; - int i; + int i, err; char regpath[1024]; char adapterid[1024];