projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8751aa
)
Use 3 read attempts when in non-blocking mode
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 28 Jan 2010 21:24:04 +0000
(22:24 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 28 Jan 2010 21:25:10 +0000
(22:25 +0100)
gatchat/gatchat.c
patch
|
blob
|
history
diff --git
a/gatchat/gatchat.c
b/gatchat/gatchat.c
index
dc33beb
..
5dbd283
100644
(file)
--- 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;