Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

TS-1475: fix clang warning

  • Loading branch information...
commit 9a3668f0b4e654311badd08e759714c70ef2d6c1 1 parent b792f64
@PSUdaemon PSUdaemon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tools/http_load/http_load.c
View
2  tools/http_load/http_load.c
@@ -673,7 +673,7 @@ read_url_file(char *url_file)
if (extra_headers != NULL) {
hdr_bytes += snprintf(&hdr_buf[hdr_bytes], sizeof(hdr_buf) - hdr_bytes, "%s\r\n", extra_headers);
}
- hdr_bytes += snprintf(&hdr_buf[hdr_bytes], sizeof(hdr_buf) - hdr_bytes, "\r\n");
+ snprintf(&hdr_buf[hdr_bytes], sizeof(hdr_buf) - hdr_bytes, "\r\n");
while (fgets(line, sizeof(line), fp) != (char *) 0) {
char req_buf[2048];
Please sign in to comment.
Something went wrong with that request. Please try again.