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:
d8dc957
)
Fix compile error on Windows
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Thu, 4 Feb 2016 08:04:25 +0000
(10:04 +0200)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Thu, 4 Feb 2016 08:04:25 +0000
(10:04 +0200)
ethsock.c
patch
|
blob
|
history
diff --git
a/ethsock.c
b/ethsock.c
index 72c2940ae531a03e78597241fbf960dc494c14f8..c11f13d145a5709f41a9207df3be073182b6f4ce 100644
(file)
--- a/
ethsock.c
+++ b/
ethsock.c
@@
-333,7
+333,7
@@
ssize_t ethsock_recv(struct ethsock *sock, void *buf, size_t len)
if (ret == WAIT_TIMEOUT) {
return 0;
} else if (ret != WAIT_OBJECT_0) {
- win_perror("WaitForSingleObject", ret);
+ win_perror
2
("WaitForSingleObject", ret);
return -1;
}
}