Rename g_socket_check_pending_error to g_socket_check_connect_result

This is only used for connect anyway, and this describes the operation
better.
This commit is contained in:
Alexander Larsson
2009-05-19 10:57:58 +02:00
parent bcba61c951
commit e1a4389cbc
5 changed files with 10 additions and 10 deletions

View File

@@ -671,7 +671,7 @@ g_socket_client_socket_callback (GSocket *socket,
else
{
/* socket is ready for writing means connect done, did it succeed? */
if (!g_socket_check_pending_error (data->current_socket, &error))
if (!g_socket_check_connect_result (data->current_socket, &error))
{
set_last_error (data, error);