Loading src/in-binary.c +4 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,10 @@ parse_file(struct Output *out, const char *filename) parse_banner3(out, buf, bytes_read); break; case 4: fread(buf+bytes_read,1,1,fp); if (fread(buf+bytes_read,1,1,fp) != 1) { fprintf(stderr, "read() error\n"); exit(1); } bytes_read++; parse_banner4(out, buf, bytes_read); break; Loading src/out-redis.c +3 −3 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ clean_response_queue(struct Output *out, SOCKET fd) static void redis_out_open(struct Output *out, FILE *fp) { SOCKET fd = (SOCKET)fp; ptrdiff_t fd = (ptrdiff_t)fp; size_t count; unsigned char line[1024]; Loading @@ -173,7 +173,7 @@ redis_out_open(struct Output *out, FILE *fp) static void redis_out_close(struct Output *out, FILE *fp) { SOCKET fd = (SOCKET)fp; ptrdiff_t fd = (ptrdiff_t)fp; size_t count; unsigned char line[1024]; Loading @@ -198,7 +198,7 @@ static void redis_out_status(struct Output *out, FILE *fp, time_t timestamp, int status, unsigned ip, unsigned port, unsigned reason, unsigned ttl) { SOCKET fd = (SOCKET)fp; ptrdiff_t fd = (ptrdiff_t)fp; char line[1024]; char ip_string[16]; char port_string[10]; Loading Loading
src/in-binary.c +4 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,10 @@ parse_file(struct Output *out, const char *filename) parse_banner3(out, buf, bytes_read); break; case 4: fread(buf+bytes_read,1,1,fp); if (fread(buf+bytes_read,1,1,fp) != 1) { fprintf(stderr, "read() error\n"); exit(1); } bytes_read++; parse_banner4(out, buf, bytes_read); break; Loading
src/out-redis.c +3 −3 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ clean_response_queue(struct Output *out, SOCKET fd) static void redis_out_open(struct Output *out, FILE *fp) { SOCKET fd = (SOCKET)fp; ptrdiff_t fd = (ptrdiff_t)fp; size_t count; unsigned char line[1024]; Loading @@ -173,7 +173,7 @@ redis_out_open(struct Output *out, FILE *fp) static void redis_out_close(struct Output *out, FILE *fp) { SOCKET fd = (SOCKET)fp; ptrdiff_t fd = (ptrdiff_t)fp; size_t count; unsigned char line[1024]; Loading @@ -198,7 +198,7 @@ static void redis_out_status(struct Output *out, FILE *fp, time_t timestamp, int status, unsigned ip, unsigned port, unsigned reason, unsigned ttl) { SOCKET fd = (SOCKET)fp; ptrdiff_t fd = (ptrdiff_t)fp; char line[1024]; char ip_string[16]; char port_string[10]; Loading