# HG changeset patch # User Senko Rasic # Date 1193665774 -3600 # Node ID 4ab72c1064e947240e17481f793adb7936b0a3fb # Parent b77f6cfe229e4fddad61630480f94446b40866d8# Parent 839adca0d8639351194bc8d2eb2f75db7351c249 Merge branch 'starttls' of git://people.freedesktop.org/~daf/loudmouth into 1.3 diff -r 839adca0d863 -r 4ab72c1064e9 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; }