From e2f6ee239c9c0cedfccee1db77c95e673fe6fe04 Mon Sep 17 00:00:00 2001 From: charsyam Date: Wed, 28 Oct 2015 02:19:24 +0900 Subject: fixing typos --- hiredis.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hiredis.c') diff --git a/hiredis.c b/hiredis.c index 73d0251..2b876d9 100644 --- a/hiredis.c +++ b/hiredis.c @@ -822,10 +822,10 @@ int redisBufferRead(redisContext *c) { /* Write the output buffer to the socket. * * Returns REDIS_OK when the buffer is empty, or (a part of) the buffer was - * succesfully written to the socket. When the buffer is empty after the + * successfully written to the socket. When the buffer is empty after the * write operation, "done" is set to 1 (if given). * - * Returns REDIS_ERR if an error occured trying to write and sets + * Returns REDIS_ERR if an error occurred trying to write and sets * c->errstr to hold the appropriate error string. */ int redisBufferWrite(redisContext *c, int *done) { @@ -984,7 +984,7 @@ int redisAppendCommandArgv(redisContext *c, int argc, const char **argv, const s * context is non-blocking, the "reply" pointer will not be used and the * command is simply appended to the write buffer. * - * Returns the reply when a reply was succesfully retrieved. Returns NULL + * Returns the reply when a reply was successfully retrieved. Returns NULL * otherwise. When NULL is returned in a blocking context, the error field * in the context will be set. */ -- cgit v1.2.3