aboutsummaryrefslogtreecommitdiff
path: root/tests/test_download.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2026-05-07 15:54:00 -0400
committerGitHub <noreply@github.com>2026-05-07 15:54:00 -0400
commit0ef06cbec6f3796db244501b4c5fec2d579c7e5b (patch)
tree675651a16986ebfc1473102d9ce6d7187fc107d0 /tests/test_download.c
parentb494ddd036f9b17fcfabd42decd325bbe8be914e (diff)
parent9468c81718046af0a0b32c492bee359a98e2e8e9 (diff)
downloadstasis-0ef06cbec6f3796db244501b4c5fec2d579c7e5b.tar.gz
Merge pull request #141 from jhunkeler/use-stasis-bufsiz
Replace BUFSIZ with STASIS_BUFSIZ
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) {