summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortiptorrent development team <tiptorrent@soleta.eu>2021-12-23 18:21:32 +0100
committertiptorrent development team <tiptorrent@soleta.eu>2021-12-23 18:21:32 +0100
commit6e55df90e4881f2aee2c2748fa3e49fa21c156a5 (patch)
treed80c20b8f4f57a42e57565bb6a161bbb061ae285
parentbe1a7b95630e6d062011388d074a7dbba5ef1f1a (diff)
rename POST redirect handler
-rw-r--r--src/main.c4
1 files 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)