[gnio] Unset blocking_mode_unknown if successfully set blocking mode



commit e713825afe4443238232c37c92d3919cbde47f10
Author: Alexander Larsson <alexl redhat com>
Date:   Wed May 6 11:18:45 2009 +0200

    Unset blocking_mode_unknown if successfully set blocking mode
---
 gio/gsocket.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gio/gsocket.c b/gio/gsocket.c
index a86f7af..88940d8 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -731,6 +731,7 @@ g_socket_set_blocking (GSocket  *socket,
     }
 
   socket->priv->blocking = blocking;
+  socket->priv->blocking_mode_unknown = FALSE;
   g_object_notify (G_OBJECT (socket), "blocking");
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]