From 386b9950f3b72df0cf616470ea4fb2d1fe24b23a Mon Sep 17 00:00:00 2001 From: ShooterIT Date: Wed, 1 Jan 2020 14:42:10 +0800 Subject: fix spelling mistakes --- read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'read.c') 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)) { -- cgit v1.2.3