diff options
Diffstat (limited to 'ccast/ccpacket.c')
-rw-r--r--[-rwxr-xr-x] | ccast/ccpacket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ccast/ccpacket.c b/ccast/ccpacket.c index 2efc11f..97e28d7 100755..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; } |