From 40acb4412d9409ef4339d07caeeba540256a062a Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 1 Oct 2019 19:18:08 +0200 Subject: [PATCH] GEORADIUS reply: fix of the previous fix about #6417. --- src/geo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geo.c b/src/geo.c index 470a615f4..f47f4ee22 100644 --- a/src/geo.c +++ b/src/geo.c @@ -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; }