diff options
author | oranagra <oran@redislabs.com> | 2016-05-09 09:12:38 +0300 |
---|---|---|
committer | oranagra <oran@redislabs.com> | 2016-05-09 12:05:33 +0300 |
commit | 9682b616a21b5e675a1ca82109a11d6f4de1d2de (patch) | |
tree | 9f3c4cddb8b4877970d3f2252bb29ff5e6a326d6 /src/geo.c | |
parent | 3b644e82b0cc96113e29672d1551248c9e9db893 (diff) | |
download | redis-9682b616a21b5e675a1ca82109a11d6f4de1d2de.tar.gz |
minor fixes - mainly signalModifiedKey, and GEORADIUS
Diffstat (limited to 'src/geo.c')
-rw-r--r-- | src/geo.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -465,6 +465,7 @@ void georadiusGeneric(client *c, int type) { double radius_meters = 0, conversion = 1; if ((radius_meters = extractDistanceOrReply(c, c->argv + base_args - 2, &conversion)) < 0) { + addReplyError(c,"radius must be >= 0"); return; } |