src/db.c: Correct "save" -> "safe" typo

This commit is contained in:
Vinod Kumar 2017-01-15 23:04:51 +05:30
parent 6712bce92c
commit 481a1c2865
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ robj *lookupKeyReadWithFlags(redisDb *db, robj *key, int flags) {
if (expireIfNeeded(db,key) == 1) {
/* Key expired. If we are in the context of a master, expireIfNeeded()
* returns 0 only when the key does not exist at all, so it's save
* returns 0 only when the key does not exist at all, so it's safe
* to return NULL ASAP. */
if (server.masterhost == NULL) return NULL;