summaryrefslogtreecommitdiffstats
path: root/tests/failmalloc_test.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-11 16:46:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-11 16:46:30 +0000
commit854010bc34484a22f5e97ed21ea76e76cde6a9ca (patch)
treee2fe43eaaa3546c62c0fce539d775f9928c805f4 /tests/failmalloc_test.c
parentAdding debian version 1.61.0-1. (diff)
downloadnghttp2-854010bc34484a22f5e97ed21ea76e76cde6a9ca.tar.xz
nghttp2-854010bc34484a22f5e97ed21ea76e76cde6a9ca.zip
Merging upstream version 1.62.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/failmalloc_test.c')
-rw-r--r--tests/failmalloc_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/failmalloc_test.c b/tests/failmalloc_test.c
index 5b204fe..e68ac11 100644
--- a/tests/failmalloc_test.c
+++ b/tests/failmalloc_test.c
@@ -88,7 +88,7 @@ static nghttp2_ssize data_feed_recv_callback(nghttp2_session *session,
int flags, void *user_data) {
data_feed *df = ((my_user_data *)user_data)->df;
size_t avail = (size_t)(df->datalimit - df->datamark);
- size_t wlen = nghttp2_min(avail, len);
+ size_t wlen = nghttp2_min_size(avail, len);
(void)session;
(void)flags;