projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac5263
)
Fix wrong identifier in SO_NOSIGPIPE call.
author
Etienne Dechamps
<etienne@edechamps.fr>
Sat, 6 Sep 2014 17:16:46 +0000
(18:16 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 7 Sep 2014 13:31:15 +0000
(15:31 +0200)
f134bd0c9c2213fbbb3967f3d784759cb65e2c76
broke the Mac OS X build by
introducing a reference to an identifier, c, that doesn't exist.
src/tincctl.c
patch
|
blob
|
history
diff --git
a/src/tincctl.c
b/src/tincctl.c
index f18dc50ee2f7c919e1af4f0356c4c64a344460e6..b15676c88f55f4e9423bd384f5a9e5aba132620e 100644
(file)
--- a/
src/tincctl.c
+++ b/
src/tincctl.c
@@
-763,7
+763,7
@@
bool connect_tincd(bool verbose) {
#ifdef SO_NOSIGPIPE
static const int one = 1;
- setsockopt(
c
, SOL_SOCKET, SO_NOSIGPIPE, (void *)&one, sizeof one);
+ setsockopt(
fd
, SOL_SOCKET, SO_NOSIGPIPE, (void *)&one, sizeof one);
#endif
char data[4096];