diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-05-07 14:58:58 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-05-07 15:00:16 -0400 |
| commit | a9f3ed63573693836d7bab50403c23fb5bf75507 (patch) | |
| tree | 372092edc26b5f6d546f003bfa14aea78a531cfe /tests/test_download.c | |
| parent | e412ae6ff1aa793799ccdbe893484273e71e909a (diff) | |
| download | stasis-a9f3ed63573693836d7bab50403c23fb5bf75507.tar.gz | |
Replace BUFSIZ with STASIS_BUFSIZ
Diffstat (limited to 'tests/test_download.c')
| -rw-r--r-- | tests/test_download.c | 2 |
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) { |
