author | Senko Rasic <senko.rasic@collabora.co.uk> |
Tue, 05 Feb 2008 23:16:52 +0100 | |
changeset 327 | 2372eec7b179 |
parent 326 | 33e5f0c5ba10 |
child 328 | 781ab6759d0c |
--- a/loudmouth/lm-connection.c Thu Jan 03 18:03:35 2008 +0100 +++ b/loudmouth/lm-connection.c Tue Feb 05 23:16:52 2008 +0100 @@ -449,11 +449,7 @@ } if (!connection_get_server_from_jid (connection->jid, &domain)) { - g_set_error (error, - LM_ERROR, - LM_ERROR_CONNECTION_FAILED, - "You need to either set server hostname or jid"); - return FALSE; + domain = g_strdup (connection->server); } lm_message_queue_attach (connection->queue, connection->context);