mirror of
https://github.com/fluencelabs/redis
synced 2025-06-15 02:01:21 +00:00
Merge pull request #6531 from oranagra/rm_save_long_double
Module API for loading and saving long double
This commit is contained in:
@ -530,7 +530,7 @@ void addReplyHumanLongDouble(client *c, long double d) {
|
||||
decrRefCount(o);
|
||||
} else {
|
||||
char buf[MAX_LONG_DOUBLE_CHARS];
|
||||
int len = ld2string(buf,sizeof(buf),d,1);
|
||||
int len = ld2string(buf,sizeof(buf),d,LD_STR_HUMAN);
|
||||
addReplyProto(c,",",1);
|
||||
addReplyProto(c,buf,len);
|
||||
addReplyProto(c,"\r\n",2);
|
||||
|
Reference in New Issue
Block a user