Hi Zhenhua,
to avoid name conflict with GAtServerResult
---
gatchat/gatserver.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gatchat/gatserver.c b/gatchat/gatserver.c
index 253a80a..df3c8bf 100644
--- a/gatchat/gatserver.c
+++ b/gatchat/gatserver.c
@@ -376,11 +376,11 @@ static void new_bytes(GAtServer *p)
unsigned int len = ring_buffer_len(p->read_buf);
unsigned int wrap = ring_buffer_len_no_wrap(p->read_buf);
unsigned char *buf = ring_buffer_read_ptr(p->read_buf, p->read_so_far);
- enum ParserState result;
+ enum ParserState state;
Actually this should be enum ParserResult result; Fixed upstream.
Regards,
-Denis