rename POST redirect handler
parent
be1a7b9563
commit
6e55df90e4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue