libpurple/protocols/facebook/facebook.c

branch
facebook
changeset 37377
c92bc4233941
parent 37374
00dd525c43a2
child 37380
06ad6f6aa43a
equal deleted inserted replaced
37376:56c954d1a430 37377:c92bc4233941
332 gc = fb_data_get_connection(fata); 332 gc = fb_data_get_connection(fata);
333 333
334 if (error->domain == FB_MQTT_SSL_ERROR) { 334 if (error->domain == FB_MQTT_SSL_ERROR) {
335 purple_connection_ssl_error(gc, error->code); 335 purple_connection_ssl_error(gc, error->code);
336 return; 336 return;
337 }
338
339 if (g_error_matches(error, FB_API_ERROR, FB_API_ERROR_QUEUE)) {
340 /* Save the reset data */
341 fb_data_save(fata);
337 } 342 }
338 343
339 if ((error->domain == FB_HTTP_ERROR) && 344 if ((error->domain == FB_HTTP_ERROR) &&
340 (error->code >= 400) && 345 (error->code >= 400) &&
341 (error->code <= 500)) 346 (error->code <= 500))

mercurial