summaryrefslogtreecommitdiff
path: root/stun/tools/stund.c
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2009-07-24 15:58:02 -0400
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2009-07-24 15:58:02 -0400
commit7120cdbde322c24899d571d01f1ea1559e04dfcb (patch)
tree79404fbca9cd2156ab9cbec675367ec6f0ceb3cc /stun/tools/stund.c
parentdbc4c346f305a86eb1bb7068bc311238d6604739 (diff)
downloadlibnice-7120cdbde322c24899d571d01f1ea1559e04dfcb.tar.gz
if MSG_ERRQUEUE is not defined, then make recv_err return something since it's not a void function
Diffstat (limited to 'stun/tools/stund.c')
-rw-r--r--stun/tools/stund.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stun/tools/stund.c b/stun/tools/stund.c
index 1ef10d8..9eb678a 100644
--- a/stun/tools/stund.c
+++ b/stun/tools/stund.c
@@ -163,6 +163,8 @@ static int recv_err (int fd)
struct msghdr hdr;
memset (&hdr, 0, sizeof (hdr));
return recvmsg (fd, &hdr, MSG_ERRQUEUE) >= 0;
+#else
+ return 0;
#endif
}