mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-03 17:48:56 +01:00
Propagate the right error
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user