summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2020-01-01 00:43:30 -0800
committerGitHub <noreply@github.com>2020-01-01 00:43:30 -0800
commit0501c623c91344e54cb2775a91509650960789b1 (patch)
tree876f2d103b5ea38a7df412f0fabd6d06fd969028 /read.c
parentc96d492215eb3d4c80f4d7344ac41859eced5bab (diff)
parent386b9950f3b72df0cf616470ea4fb2d1fe24b23a (diff)
Merge pull request #746 from ShooterIT/spelling
fix spelling mistakes
Diffstat (limited to 'read.c')
-rw-r--r--read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read.c b/read.c
index dfe1963..a264c37 100644
--- a/read.c
+++ b/read.c
@@ -297,7 +297,7 @@ static int processLineItem(redisReader *r) {
if (strcasecmp(buf,",inf") == 0) {
d = INFINITY; /* Positive infinite. */
} else if (strcasecmp(buf,",-inf") == 0) {
- d = -INFINITY; /* Nevative infinite. */
+ d = -INFINITY; /* Negative infinite. */
} else {
d = strtod((char*)buf,&eptr);
if (buf[0] == '\0' || eptr[0] != '\0' || isnan(d)) {