summaryrefslogtreecommitdiff
path: root/stun/tools
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2009-11-13 16:54:47 -0500
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2009-11-13 16:54:47 -0500
commitda15cf44a05fb1fa89860eebe6739a7a5f611300 (patch)
treef8b9143f933d46de63047dd03a48b9994fafbf93 /stun/tools
parent2712873020b54f99065d97c6e4acd09fe347a7b3 (diff)
downloadlibnice-da15cf44a05fb1fa89860eebe6739a7a5f611300.tar.gz
avoid warning by using fd argument when MSG_ERRQUEUE is undefined
Diffstat (limited to 'stun/tools')
-rw-r--r--stun/tools/stund.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stun/tools/stund.c b/stun/tools/stund.c
index e8f28b5..3b1ea0f 100644
--- a/stun/tools/stund.c
+++ b/stun/tools/stund.c
@@ -164,6 +164,7 @@ static int recv_err (int fd)
memset (&hdr, 0, sizeof (hdr));
return recvmsg (fd, &hdr, MSG_ERRQUEUE) >= 0;
#else
+ (void) fd;
return 0;
#endif
}