summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)