diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-01-28 22:24:04 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-01-28 22:25:10 +0100 |
commit | 1e3def632f54af8437080f8fe6db7f1d833f606d (patch) | |
tree | 1ea227c0df0c57ead8d90cd7b41d5738ab45a43f /gatchat | |
parent | c8751aaaad51494f99a14c0e409cce7beb091930 (diff) | |
download | connman-1e3def632f54af8437080f8fe6db7f1d833f606d.tar.gz connman-1e3def632f54af8437080f8fe6db7f1d833f606d.tar.bz2 connman-1e3def632f54af8437080f8fe6db7f1d833f606d.zip |
Use 3 read attempts when in non-blocking mode
Diffstat (limited to 'gatchat')
-rw-r--r-- | gatchat/gatchat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c index dc33beba..5dbd2832 100644 --- a/gatchat/gatchat.c +++ b/gatchat/gatchat.c @@ -916,7 +916,7 @@ static GAtChat *create_chat(GIOChannel *channel, GIOFlags flags, if (flags & G_IO_FLAG_NONBLOCK) { chat->use_write_watch = TRUE; - chat->max_read_attempts = 1; + chat->max_read_attempts = 3; } else { chat->use_write_watch = FALSE; chat->max_read_attempts = 1; |