mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
GEORADIUS reply: fix of the previous fix about #6417.
This commit is contained in:
parent
2e2fe98f9c
commit
40acb4412d
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +566,7 @@ void georadiusGeneric(client *c, int flags) {
|
|||
|
||||
/* If no matching results, the user gets an empty reply. */
|
||||
if (ga->used == 0 && storekey == NULL) {
|
||||
addReplyNullArray(c);
|
||||
addReply(c,shared.emptyarray);
|
||||
geoArrayFree(ga);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue