From 6e55df90e4881f2aee2c2748fa3e49fa21c156a5 Mon Sep 17 00:00:00 2001 From: tiptorrent development team Date: Thu, 23 Dec 2021 18:21:32 +0100 Subject: rename POST redirect handler --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index b3739ec..fabf4f4 100644 --- a/src/main.c +++ b/src/main.c @@ -250,7 +250,7 @@ static int tip_client_get_payload(struct tip_client *cli) return 1; } -static int tip_client_state_notify_redirect(struct tip_client *cli) +static int tip_client_post_redirect(struct tip_client *cli) { char *ptr; @@ -314,7 +314,7 @@ static void tip_client_read_cb(struct ev_loop *loop, struct ev_io *io, int event goto close; break; case TIP_CLIENT_POST_REDIRECT: - ret = tip_client_state_notify_redirect(cli); + ret = tip_client_post_redirect(cli); if (ret < 0) goto error; if (ret == 0) -- cgit v1.2.3-18-g5258