projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56c0d0f
)
gsocket: Fix the error message for a failed g_socket_shutdown
author
Neil Roberts
<neil@linux.intel.com>
Sat, 28 May 2011 14:06:45 +0000
(15:06 +0100)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 28 May 2011 23:46:14 +0000
(19:46 -0400)
The GError message for g_socket_shutdown was reporting that it was
"Unable to create socket" which is presumably a cut-and-paste bug.
https://bugzilla.gnome.org/show_bug.cgi?id=651327
gio/gsocket.c
patch
|
blob
|
history
diff --git
a/gio/gsocket.c
b/gio/gsocket.c
index
e447a2b
..
13552f9
100644
(file)
--- a/
gio/gsocket.c
+++ b/
gio/gsocket.c
@@
-2136,7
+2136,7
@@
g_socket_shutdown (GSocket *socket,
{
int errsv = get_socket_errno ();
g_set_error (error, G_IO_ERROR, socket_io_error_from_errno (errsv),
- _("Unable to
create
socket: %s"), socket_strerror (errsv));
+ _("Unable to
shutdown
socket: %s"), socket_strerror (errsv));
return FALSE;
}