minor fixes - mainly signalModifiedKey, and GEORADIUS

This commit is contained in:
oranagra
2016-05-09 09:12:38 +03:00
committed by antirez
parent 2e6b99499a
commit 603234076f
6 changed files with 19 additions and 16 deletions

View File

@ -467,6 +467,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;
}