diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2019-11-04 17:33:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-04 17:33:35 +0100 |
commit | bbdbfabf9e73aa8af660aa9f7243fec714a2895b (patch) | |
tree | 2daf5954e22180ee9aec675b68181232dfcb3815 /src/networking.c | |
parent | 720d1fd3bbe47f6c19ff31924600e7de13430e15 (diff) | |
parent | 779aebc91cd8d3043ab172e0bc5b8c988df88e33 (diff) | |
download | redis-bbdbfabf9e73aa8af660aa9f7243fec714a2895b.tar.gz |
Merge pull request #6531 from oranagra/rm_save_long_double
Module API for loading and saving long double
Diffstat (limited to 'src/networking.c')
-rw-r--r-- | src/networking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/networking.c b/src/networking.c index 9336c177c..901ce0a7b 100644 --- a/src/networking.c +++ b/src/networking.c @@ -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); |