Skip to content

Commit 315ae5a

Browse files
ing-eokingjhpark816
authored andcommitted
FIX: Increase gat command token count from 3 to 4
1 parent 8fbd9d9 commit 315ae5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

memcached.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13919,11 +13919,11 @@ static void process_command_ascii(conn *c, char *command, int cmdlen)
1391913919
{
1392013920
process_get_command(c, tokens, ntokens, true, false);
1392113921
}
13922-
else if ((ntokens >= 3) && (strcmp(tokens[COMMAND_TOKEN].value, "gat") == 0))
13922+
else if ((ntokens >= 4) && (strcmp(tokens[COMMAND_TOKEN].value, "gat") == 0))
1392313923
{
1392413924
process_get_command(c, tokens, ntokens, false, true);
1392513925
}
13926-
else if ((ntokens >= 3) && (strcmp(tokens[COMMAND_TOKEN].value, "gats") == 0))
13926+
else if ((ntokens >= 4) && (strcmp(tokens[COMMAND_TOKEN].value, "gats") == 0))
1392713927
{
1392813928
process_get_command(c, tokens, ntokens, true, true);
1392913929
}

0 commit comments

Comments
 (0)