Merge branch 'master' of github.com:flightaware/dump1090_mr

This commit is contained in:
Karl Lehenbauer 2015-01-06 17:25:21 +00:00
commit 9b38353d48
4 changed files with 4 additions and 0 deletions

View File

@ -416,6 +416,7 @@ int main(int argc, char **argv) {
c->fd =
c->service =
Modes.bis = fd;
c->tsvVerbatim[0] = 0;
Modes.clients = c;
Modes.stat_beast_connections_in = 1;

View File

@ -125,6 +125,7 @@ struct client * modesAcceptClients(void) {
c->next = Modes.clients;
c->fd = fd;
c->buflen = 0;
c->tsvVerbatim[0] = 0;
Modes.clients = c;
anetSetSendBuffer(Modes.aneterr,fd, (MODES_NET_SNDBUF_SIZE << Modes.net_sndbuf_size));

View File

@ -236,6 +236,7 @@ int main(int argc, char **argv) {
c->fd =
c->service =
Modes.bis = fd;
c->tsvVerbatim[0] = 0;
Modes.clients = c;
// Keep going till the user does something that stops us

View File

@ -154,6 +154,7 @@ int setupConnection(struct client *c) {
c->fd =
c->service =
Modes.bis = fd;
c->tsvVerbatim[0] = 0;
Modes.clients = c;
}
return fd;