Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyson Andre <tysonandre775@hotmail.com>2020-01-06 17:05:57 +0300
committerTyson Andre <tysonandre775@hotmail.com>2020-01-06 17:08:36 +0300
commitf52bd8a853bc2a211c522332aea7433f0ee033a7 (patch)
treec5a2137e0136858f0a26556c5ecbae571edd5bc8 /redis_commands.c
parentdb446138c533dfd66df729b92d610f84514f3828 (diff)
Fix typos detected by codespell
Diffstat (limited to 'redis_commands.c')
-rw-r--r--redis_commands.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/redis_commands.c b/redis_commands.c
index 811cc13b..144f27ce 100644
--- a/redis_commands.c
+++ b/redis_commands.c
@@ -2176,7 +2176,7 @@ int redis_smove_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
if (src_free) efree(src);
if (dst_free) efree(dst);
- // Succcess!
+ // Success!
return SUCCESS;
}
@@ -3867,8 +3867,8 @@ int redis_xtrim_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
/*
* Redis commands that don't deal with the server at all. The RedisSock*
- * pointer is the only thing retreived differently, so we just take that
- * in additon to the standard INTERNAL_FUNCTION_PARAMETERS for arg parsing,
+ * pointer is the only thing retrieved differently, so we just take that
+ * in addition to the standard INTERNAL_FUNCTION_PARAMETERS for arg parsing,
* return value handling, and thread safety. */
void redis_getoption_handler(INTERNAL_FUNCTION_PARAMETERS,
@@ -4087,7 +4087,7 @@ void redis_unserialize_handler(INTERNAL_FUNCTION_PARAMETERS,
}
zval zv, *z_ret = &zv;
if (!redis_unserialize(redis_sock, value, value_len, z_ret)) {
- // Badly formed input, throw an execption
+ // Badly formed input, throw an exception
zend_throw_exception(ex, "Invalid serialized data, or unserialization error", 0);
RETURN_FALSE;
}