X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcygwin%2Fdevice.c;h=34922fdfbbe9ff688d2d89bc1b828713fb6486ae;hb=c44f69a30243a94ab93bd15915dbfa71db698bde;hp=9cbb00aa24df4c1a393853173ffd08d5cc0744d2;hpb=013a2e159e42c46808ea8d0b6abd57525db30a50;p=tinc diff --git a/src/cygwin/device.c b/src/cygwin/device.c index 9cbb00aa..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.2 2003/08/24 20:38:29 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];