From dfda26d1a980e6e096d93ecfec8f59872b80dee4 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 20 Jul 2009 14:29:32 +0200 Subject: [PATCH] Propagate the right error --- gio/gsocketclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gsocketclient.c b/gio/gsocketclient.c index 2a2b862..72c9429 100644 --- a/gio/gsocketclient.c +++ b/gio/gsocketclient.c @@ -514,7 +514,7 @@ g_socket_client_connect (GSocketClient *client, } else if (last_error) { - g_propagate_error (error, tmp_error); + g_propagate_error (error, last_error); } else g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED, -- 2.7.4