diff options
author | Benjamin Otte <otte@gnome.org> | 2009-07-20 14:29:32 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-07-20 14:29:51 +0200 |
commit | dfda26d1a980e6e096d93ecfec8f59872b80dee4 (patch) | |
tree | 557d0ef306a29cd7f51ca69689071b3252e29bb3 /gio | |
parent | 2cf3e2ed275f8502e1a20195290fa18ebe489216 (diff) |
Propagate the right error
Diffstat (limited to 'gio')
-rw-r--r-- | gio/gsocketclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gsocketclient.c b/gio/gsocketclient.c index 2a2b862b6..72c942984 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, |