eion/purple-hangouts

Parents 26c85f5f327b
Children ff62c3ff9e5c
Add some extra debugging to the http long-poll handler to help diagnose issue #120
--- a/hangouts_connection.c Fri Dec 23 08:42:57 2016 +1300
+++ b/hangouts_connection.c Fri Feb 10 09:24:06 2017 +1300
@@ -279,7 +279,8 @@
ha->last_data_received = time(NULL);
- if (purple_http_response_get_error(response) != NULL) {
+ if (!purple_http_response_is_successful(response)) {
+ purple_debug_error("hangouts", "longpoll_request_content had error: '%s'\n", purple_http_response_get_error(response));
return FALSE;
}