Commit 87f6f154 authored by Michael Niedermayer's avatar Michael Niedermayer

tools/zmqsend: Do not truncate fgetc() return

Fixes CID1396836
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 0ff5567a
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment