projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Let tinc figure out the exact MTU of the link.
[tinc]
/
lib
/
utils.h
diff --git
a/lib/utils.h
b/lib/utils.h
index
af65427
..
4b0ab3d
100644
(file)
--- a/
lib/utils.h
+++ b/
lib/utils.h
@@
-40,7
+40,7
@@
extern void bin2hex(char *src, char *dst, int length);
#ifdef HAVE_MINGW
extern char *winerror(int);
-#define strerror(x) (
x
>0?strerror(x):winerror(GetLastError()))
+#define strerror(x) (
(x)
>0?strerror(x):winerror(GetLastError()))
#endif
#endif /* __TINC_UTILS_H__ */