summaryrefslogtreecommitdiff
path: root/src/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/url.c')
-rw-r--r--src/lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/url.c b/src/lib/url.c
index ed0d85d..a9a70d2 100644
--- a/src/lib/url.c
+++ b/src/lib/url.c
@@ -105,7 +105,7 @@ px_url_open(pxURL *self, const char **headers)
// Create request header
request = px_strcat("GET ", px_url_get_path(self),
" HTTP/1.1\r\nHost: ", px_url_get_host(self),
- "\r\n", joined_headers, "\r\n\r\n");
+ "\r\n", joined_headers, "\r\n\r\n", NULL);
px_free(joined_headers);
// Send HTTP request