aboutsummaryrefslogtreecommitdiff
path: root/easy-tg.c
diff options
context:
space:
mode:
Diffstat (limited to 'easy-tg.c')
-rw-r--r--easy-tg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/easy-tg.c b/easy-tg.c
index b98d927..e25f931 100644
--- a/easy-tg.c
+++ b/easy-tg.c
@@ -310,11 +310,11 @@ int tg_loop()
goto cleanup;
tg_update_type = json_object_get_string(obj);
if(!strcmp(tg_update_type, "updateAuthorizationState"))
- r = handle_update_authorization_state(tg_update);
+ r = handle_update_authorization_state();
else if(!strcmp(tg_update_type, "error"))
- r = handle_update_error(tg_update);
+ r = handle_update_error();
else if(!strcmp(tg_update_type, "updateConnectionState"))
- r = handle_update_connection_state(tg_update);
+ r = handle_update_connection_state();
else
r = TG_RUN;
goto cleanup;