diff options
author | charsyam <charsyam@charsyamui-MacBook-Pro.local> | 2015-10-28 02:19:24 +0900 |
---|---|---|
committer | charsyam <charsyam@charsyamui-MacBook-Pro.local> | 2015-10-28 02:19:24 +0900 |
commit | e2f6ee239c9c0cedfccee1db77c95e673fe6fe04 (patch) | |
tree | 94441c9868ccf3680e8c6b92db0d2e06b981c87e /hiredis.c | |
parent | 4b3786d57edb9bfb22a0442536b0b41d9a93eb69 (diff) |
fixing typos
Diffstat (limited to 'hiredis.c')
-rw-r--r-- | hiredis.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. */ |