[glib] Propagate the right error
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Subject: [glib] Propagate the right error
- Date: Mon, 20 Jul 2009 12:30:09 +0000 (UTC)
commit dfda26d1a980e6e096d93ecfec8f59872b80dee4
Author: Benjamin Otte <otte gnome org>
Date: Mon Jul 20 14:29:32 2009 +0200
Propagate the right error
gio/gsocketclient.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]