GNOME Bugzilla – Bug 667226
GSocket: fix an error return value
Last modified: 2012-01-04 16:17:58 UTC
Component: gio
Created attachment 204535 [details] [review] GSocket: fix an error return value g_socket_receive_with_blocking() claims to return -1 in error, its type is a gssize, and yet it's returning FALSE if the initial g_return_val_if_fail() call fails. Fishy.
Comment on attachment 204535 [details] [review] GSocket: fix an error return value g_socket_send_with_blocking() has the same bug. Please commit after fixing that too.
Fixed the other method as well and pushed.