summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gatchat/gatserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatserver.c b/gatchat/gatserver.c
index d90eeb56..99931e2b 100644
--- a/gatchat/gatserver.c
+++ b/gatchat/gatserver.c
@@ -689,7 +689,7 @@ static void new_bytes(GAtServer *p)
case PARSER_RESULT_REPEAT_LAST:
/* TODO */
- g_at_server_send_final(p, G_AT_SERVER_RESULT_OK);
+ g_at_server_send_final(p, G_AT_SERVER_RESULT_ERROR);
ring_buffer_drain(p->read_buf, p->read_so_far);
break;