summaryrefslogtreecommitdiff
path: root/ccast/ccpacket.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 07:40:42 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 07:40:42 +0100
commitc6739b6427261ac2682a9fca3b23c98df0dc9f60 (patch)
treea90193f98739ad96e6ae676409022bd15a648aae /ccast/ccpacket.c
parentc6267b450e6858fdff4360104b362d9da2e1806d (diff)
New upstream release
Diffstat (limited to 'ccast/ccpacket.c')
-rw-r--r--ccast/ccpacket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ccast/ccpacket.c b/ccast/ccpacket.c
index 97e28d7..2efc11f 100644
--- a/ccast/ccpacket.c
+++ b/ccast/ccpacket.c
@@ -231,7 +231,7 @@ static ccpacket_err connect_ccpacket_imp(
}
/* Connect */
- if (rv = (connect(p->sock, (struct sockaddr *)&server, sizeof(server))) != 0) {
+ if ((rv = (connect(p->sock, (struct sockaddr *)&server, sizeof(server)))) != 0) {
DBG((g_log,0, "TCP connect IP '%s' port %d failed with %d, errno %d\n",p->dip, p->dport,rv,ERRNO))
return ccpacket_connect;
}