summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gatchat/gatserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gatchat/gatserver.c b/gatchat/gatserver.c
index c491fc27..4046ad33 100644
--- a/gatchat/gatserver.c
+++ b/gatchat/gatserver.c
@@ -186,7 +186,7 @@ static inline gboolean is_extended_command_prefix(const char c)
}
}
-static void parse_at_command(GAtServer *server, char *buf)
+static void parse_extended_command(GAtServer *server, char *buf)
{
g_at_server_send_final(server, G_AT_SERVER_RESULT_ERROR);
}
@@ -217,7 +217,7 @@ static void server_parse_line(GAtServer *server, char *line)
c = line[++i];
if (is_extended_command_prefix(c) || c == 'A' || c == 'D' || c == 'H')
- parse_at_command(server, line + i);
+ parse_extended_command(server, line + i);
else if (g_ascii_isalpha(c) || c == '&')
parse_v250_settings(server, line + i);
else