mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 00:50:50 +00:00
Eliminates engineers near the equator & prime meridian
This commit is contained in:
parent
41030ae2de
commit
b5149f0868
@ -588,8 +588,8 @@ void georadiusGeneric(client *c, int type) {
|
|||||||
|
|
||||||
if (withcoords) {
|
if (withcoords) {
|
||||||
addReplyMultiBulkLen(c, 2);
|
addReplyMultiBulkLen(c, 2);
|
||||||
addReplyDouble(c, gp->longitude);
|
addReplyHumanLongDouble(c, gp->longitude);
|
||||||
addReplyDouble(c, gp->latitude);
|
addReplyHumanLongDouble(c, gp->latitude);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -726,8 +726,8 @@ void geoposCommand(client *c) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
addReplyMultiBulkLen(c,2);
|
addReplyMultiBulkLen(c,2);
|
||||||
addReplyDouble(c,xy[0]);
|
addReplyHumanLongDouble(c,xy[0]);
|
||||||
addReplyDouble(c,xy[1]);
|
addReplyHumanLongDouble(c,xy[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user