summaryrefslogtreecommitdiffstats
path: root/gatchat/gatchat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/gatchat.c')
-rw-r--r--gatchat/gatchat.c2
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;