summaryrefslogtreecommitdiff
path: root/hiredis.c
diff options
context:
space:
mode:
authorJan-Erik Rediger <badboy@archlinux.us>2015-10-27 18:28:34 +0100
committerJan-Erik Rediger <badboy@archlinux.us>2015-10-27 18:28:34 +0100
commitdb1c46dac7f0c54310e05a682cc444b7ae287dcf (patch)
tree94441c9868ccf3680e8c6b92db0d2e06b981c87e /hiredis.c
parent4b3786d57edb9bfb22a0442536b0b41d9a93eb69 (diff)
parente2f6ee239c9c0cedfccee1db77c95e673fe6fe04 (diff)
Merge pull request #373 from charsyam/feature/typos
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.
*/