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:24:04 +0100 |
commit | 4f3b99e189ec925fa0816b49f4a4bbfa999dfddf (patch) | |
tree | e51588cbce65864e00a1fb9017ae688f4e2f3ccc /gatchat/gatchat.c | |
parent | 7d7a61f9333fd65f90531f72dcf4bb456ab87ea6 (diff) | |
download | ofono-4f3b99e189ec925fa0816b49f4a4bbfa999dfddf.tar.bz2 |
Use 3 read attempts when in non-blocking mode
Diffstat (limited to 'gatchat/gatchat.c')
-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; |