| 809 } |
809 } |
| 810 |
810 |
| 811 static void captcha_input_cancel_cb(qq_captcha_request *captcha_req, |
811 static void captcha_input_cancel_cb(qq_captcha_request *captcha_req, |
| 812 PurpleRequestFields *fields) |
812 PurpleRequestFields *fields) |
| 813 { |
813 { |
| 814 captcha_request_destory(captcha_req); |
|
| 815 |
|
| 816 purple_connection_error_reason(captcha_req->gc, |
814 purple_connection_error_reason(captcha_req->gc, |
| 817 PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED, |
815 PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED, |
| 818 _("Failed captcha verification")); |
816 _("Failed captcha verification")); |
| |
817 |
| |
818 captcha_request_destory(captcha_req); |
| 819 } |
819 } |
| 820 |
820 |
| 821 static void captcha_input_ok_cb(qq_captcha_request *captcha_req, |
821 static void captcha_input_ok_cb(qq_captcha_request *captcha_req, |
| 822 PurpleRequestFields *fields) |
822 PurpleRequestFields *fields) |
| 823 { |
823 { |