tools/zmqsend: Do not truncate fgetc() return

Fixes CID1396836

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/244/head
Michael Niedermayer 8 years ago
parent 0ff5567a30
commit 87f6f15460
  1. 3
      tools/zmqsend.c

@ -52,7 +52,8 @@ static void usage(void)
int main(int argc, char **argv)
{
AVBPrint src;
char c, *src_buf, *recv_buf;
char *src_buf, *recv_buf;
int c;
int recv_buf_size, ret = 0;
void *zmq_ctx, *socket;
const char *bind_address = "tcp://localhost:5555";

Loading…
Cancel
Save