aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/http/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/http/http.c b/src/plugins/http/http.c
index 72b4812fd42..22aaaeb59b5 100644
--- a/src/plugins/http/http.c
+++ b/src/plugins/http/http.c
@@ -387,12 +387,12 @@ static const char *http_redirect_template = "HTTP/1.1 %s\r\n";
static const char *http_response_template = "HTTP/1.1 %s\r\n"
"Date: %U GMT\r\n"
"Expires: %U GMT\r\n"
- "Server: %s\r\n"
+ "Server: %v\r\n"
"Content-Type: %s\r\n"
"Content-Length: %lu\r\n\r\n";
static const char *http_request_template = "GET %s HTTP/1.1\r\n"
- "User-Agent: %s\r\n"
+ "User-Agent: %v\r\n"
"Accept: */*\r\n\r\n";
static u32