summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/geo.c2
1 files changed, 1 insertions, 1 deletions
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;
}