Skip to content

Commit 7ab6b82

Browse files
testwillmichael-grunder
authored andcommitted
fix: typos
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
1 parent 398e16e commit 7ab6b82

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ The values are not stored in the `redisContext`, so they are not automatically a
158158
These functions return `REDIS_OK` on success.
159159
On failure, `REDIS_ERR` is returned and the underlying connection is closed.
160160
161-
To configure these for an asyncronous context (see *Asynchronous API* below), use `ac->c` to get the redisContext out of an asyncRedisContext.
161+
To configure these for an asynchronous context (see *Asynchronous API* below), use `ac->c` to get the redisContext out of an asyncRedisContext.
162162
163163
```C
164164
int redisEnableKeepAlive(redisContext *c);

test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static redisContext *select_database(redisContext *c) {
156156
assert(reply != NULL);
157157
freeReplyObject(reply);
158158

159-
/* Make sure the DB is emtpy */
159+
/* Make sure the DB is empty */
160160
reply = redisCommand(c,"DBSIZE");
161161
assert(reply != NULL);
162162
if (reply->type == REDIS_REPLY_INTEGER && reply->integer == 0) {
@@ -2298,7 +2298,7 @@ static void test_async_polling(struct config config) {
22982298
*/
22992299
test("Ping/Pong from onConnected callback (Issue #931): ");
23002300
c = do_aconnect(config, ASTEST_ISSUE_931_PING);
2301-
/* connect callback issues ping, reponse callback destroys context */
2301+
/* connect callback issues ping, response callback destroys context */
23022302
while(astest.ac)
23032303
redisPollTick(c, 0.1);
23042304
assert(astest.connected == 0);

0 commit comments

Comments
 (0)