summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2014-07-31 14:51:05 -0400
committerMatt Stancliff <matt@genges.com>2014-09-29 06:49:07 -0400
commit12d0195b3013aff008bb492cf59f31d823f024b0 (patch)
tree08d5176b2c8c5c2e902bef0907f6c58563d2d264 /src/util.c
parentfc8f7ec7656487b8f7dea14d33dbdbb2c6b6f470 (diff)
downloadredis-12d0195b3013aff008bb492cf59f31d823f024b0.tar.gz
Clean up text throughout project
- Remove trailing newlines from redis.conf - Fix comment misspelling - Clarifies zipEncodeLength usage and a C API mention (#1243, #1242) - Fix cluster typos (inspired by @papanikge #1507) - Fix rewite -> rewrite in a few places (inspired by #682) Closes #1243, #1242, #1507
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 1b1798658..80242ff71 100644
--- a/src/util.c
+++ b/src/util.c
@@ -385,7 +385,7 @@ int string2l(const char *s, size_t slen, long *lval) {
}
/* Convert a double to a string representation. Returns the number of bytes
- * required. The representation should always be parsable by stdtod(3). */
+ * required. The representation should always be parsable by strtod(3). */
int d2string(char *buf, size_t len, double value) {
if (isnan(value)) {
len = snprintf(buf,len,"nan");