diff options
author | Jack Drogon <jack.xsuperman@gmail.com> | 2018-07-01 13:24:50 +0800 |
---|---|---|
committer | Salvatore Sanfilippo <antirez@gmail.com> | 2018-07-03 18:19:46 +0200 |
commit | 93238575f77630f24e0472bdbf7eecb73a4652a8 (patch) | |
tree | fb075adb140513364b5d357c676196d33b709602 /src/util.c | |
parent | 94b3ee61420f8638d9cdba32877864deef91d5e9 (diff) | |
download | redis-93238575f77630f24e0472bdbf7eecb73a4652a8.tar.gz |
Fix typo
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c index db5b018d5..ca5435026 100644 --- a/src/util.c +++ b/src/util.c @@ -451,7 +451,7 @@ int string2ld(const char *s, size_t slen, long double *dp) { /* Convert a double to a string representation. Returns the number of bytes * required. The representation should always be parsable by strtod(3). * This function does not support human-friendly formatting like ld2string - * does. It is intented mainly to be used inside t_zset.c when writing scores + * does. It is intended mainly to be used inside t_zset.c when writing scores * into a ziplist representing a sorted set. */ int d2string(char *buf, size_t len, double value) { if (isnan(value)) { |