rename POST redirect handler

master
tiptorrent development team 2021-12-23 18:21:32 +01:00
parent be1a7b9563
commit 6e55df90e4
1 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ static int tip_client_get_payload(struct tip_client *cli)
return 1; 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; char *ptr;
@ -314,7 +314,7 @@ static void tip_client_read_cb(struct ev_loop *loop, struct ev_io *io, int event
goto close; goto close;
break; break;
case TIP_CLIENT_POST_REDIRECT: case TIP_CLIENT_POST_REDIRECT:
ret = tip_client_state_notify_redirect(cli); ret = tip_client_post_redirect(cli);
if (ret < 0) if (ret < 0)
goto error; goto error;
if (ret == 0) if (ret == 0)