From 7f0cc4964502da21ec6e402de3db946e1408d6e2 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 8 Oct 2018 07:13:08 +0200 Subject: [PATCH] CLEANUP: h2: rename h2c_snd_settings() to h2c_send_settings() It's the only function not called h2c_send_() and it took me a while to find it. --- src/mux_h2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mux_h2.c b/src/mux_h2.c index 825428853..c01a42a29 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -753,7 +753,7 @@ static struct h2s *h2c_stream_new(struct h2c *h2c, int id) * it couldn't do anything. It may return an error in h2c. See RFC7540#11.3 for * the various settings codes. */ -static int h2c_snd_settings(struct h2c *h2c) +static int h2c_send_settings(struct h2c *h2c) { struct buffer *res; char buf_data[100]; // enough for 15 settings @@ -850,7 +850,7 @@ static int h2c_frt_recv_preface(struct h2c *h2c) return 0; } - ret2 = h2c_snd_settings(h2c); + ret2 = h2c_send_settings(h2c); if (ret2 > 0) b_del(&h2c->dbuf, ret1);