mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 12:53:07 +02:00
Propagate the right error
This commit is contained in:
parent
2cf3e2ed27
commit
dfda26d1a9
@ -514,7 +514,7 @@ g_socket_client_connect (GSocketClient *client,
|
|||||||
}
|
}
|
||||||
else if (last_error)
|
else if (last_error)
|
||||||
{
|
{
|
||||||
g_propagate_error (error, tmp_error);
|
g_propagate_error (error, last_error);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user