--- a/libpurple/protocols/facebook/api.c Mon Aug 24 19:34:23 2015 -0400
+++ b/libpurple/protocols/facebook/api.c Mon Aug 24 19:57:50 2015 -0400
@@ -349,7 +349,7 @@
* Emitted whenever an error is hit within the #FbApi. This
- * should disconnect #FbApi with #fb_api_disconnect().
+ * should disconnect the #FbApi with #fb_api_disconnect(). G_TYPE_FROM_CLASS(klass),
--- a/libpurple/protocols/facebook/mqtt.c Mon Aug 24 19:34:23 2015 -0400
+++ b/libpurple/protocols/facebook/mqtt.c Mon Aug 24 19:57:50 2015 -0400
@@ -105,8 +105,8 @@
- * Emitted whenever an error is hit within the #FbMqtt. The
- * connection is automatically closed after this is emitted.
+ * Emitted whenever an error is hit within the #FbMqtt. This + * should close the #FbMqtt with #fb_mqtt_close(). G_TYPE_FROM_CLASS(klass),
@@ -282,7 +282,6 @@
g_signal_emit_by_name(mqtt, "error", err);
@@ -601,12 +600,11 @@
str = purple_ssl_strerror(error);
err = g_error_new_literal(FB_MQTT_SSL_ERROR, error, str);
+ /* Do not call purple_ssl_close() from the error_func */ g_signal_emit_by_name(mqtt, "error", err);
- /* Do not call purple_ssl_close() from the error_func */