projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c11c7e
)
Fix windows build
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Sat, 12 Nov 2016 15:57:12 +0000
(16:57 +0100)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Sat, 12 Nov 2016 15:57:12 +0000
(16:57 +0100)
ethsock.c
patch
|
blob
|
history
diff --git
a/ethsock.c
b/ethsock.c
index 024d77df6147402ba2f6b2c21303df0f3b2de590..1d6c173864d66e283ee7494270fc9be185218a9d 100644
(file)
--- a/
ethsock.c
+++ b/
ethsock.c
@@
-40,7
+40,7
@@
struct ethsock
struct ethsock_ip_undo
{
-#ifndef N
RM
PFLASH_WINDOWS
+#ifndef N
MR
PFLASH_WINDOWS
uint32_t ip[2];
#else
ULONG context;
@@
-751,7
+751,7
@@
out:
#else // NMRPFLASH_WINDOWS
ULONG instance;
- DWORD ret = AddIPAddress(ipaddr, ipmask, sock->index, &
undo
->context, &instance);
+ DWORD ret = AddIPAddress(ipaddr, ipmask, sock->index, &
(*undo)
->context, &instance);
if (ret != NO_ERROR) {
win_perror2("AddIPAddress", ret);
return -1;