projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2531ff5
)
Wrong function...
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 1 Aug 2003 08:18:22 +0000
(08:18 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 1 Aug 2003 08:18:22 +0000
(08:18 +0000)
src/mingw/device.c
patch
|
blob
|
history
diff --git
a/src/mingw/device.c
b/src/mingw/device.c
index
e1fbf22
..
23b4c00
100644
(file)
--- a/
src/mingw/device.c
+++ b/
src/mingw/device.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.
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.1.2.
7 2003/07/29 23:21:01
guus Exp $
+ $Id: device.c,v 1.1.2.
8 2003/08/01 08:18:22
guus Exp $
*/
#include "system.h"
*/
#include "system.h"
@@
-177,7
+177,7
@@
bool setup_device(void)
len = sizeof(adaptername);
RegQueryValueEx(key2, "Name", 0, 0, adaptername, &len);
len = sizeof(adaptername);
RegQueryValueEx(key2, "Name", 0, 0, adaptername, &len);
- Reg
KeyClose
(key2);
+ Reg
CloseKey
(key2);
if(device) {
if(!strcmp(device, adapterid)) {
if(device) {
if(!strcmp(device, adapterid)) {
@@
-203,7
+203,7
@@
bool setup_device(void)
}
}
}
}
- Reg
KeyClose
(key);
+ Reg
CloseKey
(key);
if(!found) {
logger(LOG_ERR, _("No Windows tap device found!"));
if(!found) {
logger(LOG_ERR, _("No Windows tap device found!"));