summaryrefslogtreecommitdiff
path: root/ccast
diff options
context:
space:
mode:
Diffstat (limited to 'ccast')
-rw-r--r--ccast/axTLS/tls1.c2
-rw-r--r--ccast/ccmdns.c3
-rw-r--r--ccast/ccpacket.c2
-rw-r--r--ccast/dpat.c2
-rw-r--r--ccast/filt.c1
5 files changed, 3 insertions, 7 deletions
diff --git a/ccast/axTLS/tls1.c b/ccast/axTLS/tls1.c
index d8ce892..b635263 100644
--- a/ccast/axTLS/tls1.c
+++ b/ccast/axTLS/tls1.c
@@ -309,8 +309,6 @@ EXP_FUNC int STDCALL ssl_read(SSL *ssl, uint8_t **in_data)
return ret;
}
-int basic_readi(SSL *ssl, uint8_t **in_data);
-
/*
* Internal read the SSL connection used for setup
*/
diff --git a/ccast/ccmdns.c b/ccast/ccmdns.c
index 76ae4d1..0ba3318 100644
--- a/ccast/ccmdns.c
+++ b/ccast/ccmdns.c
@@ -75,7 +75,6 @@
#else
#include "numsup.h"
#endif
-#include "conv.h"
#include "ccmdns.h"
#undef DEBUG
@@ -224,7 +223,7 @@ static int init_send_mDNS(SOCKET *psock) {
// If we're doing a one-shot, we shouldn't transmit from port 5353, */
// but ChromCast won't see the packet if we don't. */
- /* We can't send from port 5353 if someone else is using it, */
+ /* We cant send from port 5353 if someone else is using it, */
/* so set the SO_REUSEADDR option (which is enough for MSWin), */
/* and SO_REUSEPORT for OS X and Linux */
{
diff --git a/ccast/ccpacket.c b/ccast/ccpacket.c
index 2efc11f..97e28d7 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;
}
diff --git a/ccast/dpat.c b/ccast/dpat.c
index a8792fe..106c52a 100644
--- a/ccast/dpat.c
+++ b/ccast/dpat.c
@@ -440,7 +440,7 @@ double get_ccast_dith(double ipat[DISIZE][DISIZE][3], double val[3]) {
if (vv) {
printf("There are %d unique surrounders:\n",nsur);
for (n = 0; n < nsur; n++) {
- printf("sur %f %f %f\n",ressur[n][0], ressur[n][1], ressur[n][2]);
+ printf("sur %f %f %f\n",ressur[n][0], ressur[n][1], ressur[n][2], ressur[n][3]);
}
}
#endif
diff --git a/ccast/filt.c b/ccast/filt.c
index 65cf7bd..ab075ae 100644
--- a/ccast/filt.c
+++ b/ccast/filt.c
@@ -33,7 +33,6 @@
#include "ccpacket.h"
#include "ccmes.h"
#include "yajl.h"
-#include "ccast.h"
#define DO_WEIGHTING
#define SUM_CONSTRAINT