summaryrefslogtreecommitdiff
path: root/hiredis.c
diff options
context:
space:
mode:
authorcharsyam <charsyam@charsyamui-MacBook-Pro.local>2015-10-28 02:19:24 +0900
committercharsyam <charsyam@charsyamui-MacBook-Pro.local>2015-10-28 02:19:24 +0900
commite2f6ee239c9c0cedfccee1db77c95e673fe6fe04 (patch)
tree94441c9868ccf3680e8c6b92db0d2e06b981c87e /hiredis.c
parent4b3786d57edb9bfb22a0442536b0b41d9a93eb69 (diff)
fixing typos
Diffstat (limited to 'hiredis.c')
-rw-r--r--hiredis.c6
1 files changed, 3 insertions, 3 deletions
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.
*/