GSocket: fix a couple of return values
authorClaudio Saavedra <csaavedra@igalia.com>
Tue, 3 Jan 2012 22:18:59 +0000 (00:18 +0200)
committerClaudio Saavedra <csaavedra@igalia.com>
Wed, 4 Jan 2012 16:14:00 +0000 (18:14 +0200)
commit8b96fb3761bb094d7c0044114f377934b9b00c51
tree2d10a684b7354381636bd662c353eb9fbfe228dd
parentf38a1dbca7d68eedc2d75cd7a7947c7217bbbd99
GSocket: fix a couple of return values

g_socket_receive_with_blocking() and g_socket_send_with_blocking claim
to return -1 in error, their return type is gssize, and yet they
return FALSE if the initial g_return_val_if_fail() call fails.

https://bugzilla.gnome.org/show_bug.cgi?id=667226
gio/gsocket.c