Merge branch 'starttls' of git://people.freedesktop.org/~daf/loudmouth into 1.3
authorSenko Rasic <senko.rasic@collabora.co.uk>
Mon, 29 Oct 2007 14:49:34 +0100
changeset 290 4ab72c1064e9
parent 283 b77f6cfe229e (diff)
parent 289 839adca0d863 (current diff)
child 291 cebf76f7f0e9
Merge branch 'starttls' of git://people.freedesktop.org/~daf/loudmouth into 1.3
loudmouth/lm-connection.c
--- a/loudmouth/lm-connection.c	Thu Oct 25 17:39:25 2007 +0100
+++ b/loudmouth/lm-connection.c	Mon Oct 29 14:49:34 2007 +0100
@@ -387,6 +387,11 @@
 		connection_do_close (connection);
 		connection_signal_disconnect (connection, 
 					      LM_DISCONNECT_REASON_ERROR);
+
+		g_set_error (error,
+			     LM_ERROR,
+			     LM_ERROR_CONNECTION_FAILED,
+			     "Server closed the connection");
 		return FALSE;
 	}