Rename it to g_at_server_send_final. --- gatchat/gatserver.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gatchat/gatserver.c b/gatchat/gatserver.c index 7577de2..46fa423 100644 --- a/gatchat/gatserver.c +++ b/gatchat/gatserver.c @@ -148,7 +148,7 @@ static void send_common(GAtServer *server, const char *buf, unsigned int len) g_at_server_wakeup_writer(server); } -static void g_at_server_send_result(GAtServer *server, GAtServerResult result) +static void g_at_server_send_final(GAtServer *server, GAtServerResult result) { struct v250_settings v250 = server->v250; const char *result_str = server_result_to_string(result); @@ -353,7 +353,7 @@ static void new_bytes(GAtServer *p) * According to section 5.2.4 and 5.6 of V250, * Empty commands must be OK by the DCE */ - g_at_server_send_result(p, G_AT_SERVER_RESULT_OK); + g_at_server_send_final(p, G_AT_SERVER_RESULT_OK); ring_buffer_drain(p->read_buf, p->read_so_far); break; @@ -363,7 +363,7 @@ static void new_bytes(GAtServer *p) case PARSER_RESULT_REPEAT_LAST: /* TODO */ - g_at_server_send_result(p, G_AT_SERVER_RESULT_OK); + g_at_server_send_final(p, G_AT_SERVER_RESULT_OK); ring_buffer_drain(p->read_buf, p->read_so_far); break; -- 1.6.6.1 _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono