Skip to content

Commit 61bd39a

Browse files
committed
fix some spelling checks
Signed-off-by: Ran Shidlansik <[email protected]>
1 parent 89f56b0 commit 61bd39a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/t_hash.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ int hashTypeSet(robj *o, sds field, sds value, long long expiry, int flags) {
824824
* returns 2 when 'expire' indicate a past Unix time. In this case, if the item exists in the HASH, it will also be expired.
825825
*/
826826
int hashTypeSetExpire(robj *o, sds field, long long expiry, int flag) {
827-
/* If no object we will retunr -2 */
827+
/* If no object we will return -2 */
828828
if (o == NULL) return -2;
829829

830830
if (timestampIsExpired(expiry)) {
@@ -1647,7 +1647,7 @@ void hexpireGenericCommand(client *c, long long basetime, int unit) {
16471647

16481648
hashTypeSetAccessContext(obj, c->db);
16491649

1650-
/* From this point we would retunr array reply */
1650+
/* From this point we would return array reply */
16511651
addReplyArrayLen(c, num_fields);
16521652

16531653
for (i = fields_index; i < c->argc; i++) {
@@ -1684,7 +1684,7 @@ void hpersistCommand(client *c) {
16841684

16851685
if (num_fields > c->argc - 4) num_fields = c->argc - 4; // Potential user error, but we would like to make effort to comply with the request.
16861686

1687-
/* From this point we would retunr array reply */
1687+
/* From this point we would return array reply */
16881688
addReplyArrayLen(c, num_fields);
16891689

16901690
robj *hash = lookupKeyWrite(c->db, c->argv[1]);
@@ -1710,7 +1710,7 @@ void httlGenericCommand(client *c, long long basetime, int unit) {
17101710

17111711
robj *hash = lookupKeyRead(c->db, c->argv[1]);
17121712

1713-
/* From this point we would retunr array reply */
1713+
/* From this point we would return array reply */
17141714
addReplyArrayLen(c, num_fields);
17151715

17161716
hashTypeSetAccessContext(hash, c->db);

0 commit comments

Comments
 (0)