summaryrefslogtreecommitdiff
path: root/download.c
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2024-09-11 11:20:31 +0200
committerVincent Douillet <vincent@vdouillet.fr>2024-09-11 11:20:31 +0200
commit19e47daa9c1fb55f2cb9e639d5a6ef16b5bc4e88 (patch)
tree2b98ac0700a11cb142625d8355019c44b49c1850 /download.c
parent4e921ffa31fdca2425d326efda1c6d9ad190359a (diff)
url: fix encoding for use in http context
Diffstat (limited to 'download.c')
-rw-r--r--download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/download.c b/download.c
index c18dcc1..008de02 100644
--- a/download.c
+++ b/download.c
@@ -33,6 +33,7 @@
#include <fcntl.h>
#include <limits.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -44,7 +45,6 @@
#include "http.h"
#include "str.h"
#include "url.h"
-#include "util.h"
/*
* download url = r->pname / DOWNLOAD_URL / file->path