aboutsummaryrefslogtreecommitdiff
path: root/tests/test_download.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_download.c')
-rw-r--r--tests/test_download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_download.c b/tests/test_download.c
index 31e9792..6ace119 100644
--- a/tests/test_download.c
+++ b/tests/test_download.c
@@ -21,7 +21,7 @@ void test_download() {
for (size_t i = 0; i < sizeof(tc) / sizeof(*tc); i++) {
const char *filename = "output.txt";
- char errmsg[BUFSIZ] = {0};
+ char errmsg[STASIS_BUFSIZ] = {0};
char *errmsg_p = errmsg;
long http_code = download((char *) tc[i].url, filename, &errmsg_p);
if (tc[i].errmsg) {