From deeea8143f3e6f68676adee28e919010fcfffc08 Mon Sep 17 00:00:00 2001 From: Daniel Wilcox Date: Tue, 20 Nov 2018 06:36:07 +0000 Subject: [PATCH] Fix compilation -- add missing comma. --- src/reqs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reqs.c b/src/reqs.c index 21d626d..ca216b9 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -309,7 +309,7 @@ establish_http_connection (struct conn_s *connptr, struct request_s *request) /* Allow websockets to not be closed after handshake. */ return write_message (connptr->server_fd, "%s %s HTTP/1.0\r\n" - "Host: %s%s\r\n" + "Host: %s%s\r\n", request->method, request->path, request->host, portbuff); } else {