diff options
author | Meir Shpilraien (Spielrein) <meir@redislabs.com> | 2021-08-10 10:19:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 10:19:21 +0300 |
commit | 8f8117f78e004fa5f5808239dcaedf9acdb8c828 (patch) | |
tree | 1d86361c47c71650718b13bbb4e580a3615878fc /src/object.c | |
parent | 02fd76b97cbc5b8ad6f4c81c8538f02c76cbed46 (diff) | |
download | redis-8f8117f78e004fa5f5808239dcaedf9acdb8c828.tar.gz |
Format fixes and naming. SentReplyOnKeyMiss -> addReplyOrErrorObject (#9346)
Following the comments on #8659, this PR fix some formatting
and naming issues.
Diffstat (limited to 'src/object.c')
-rw-r--r-- | src/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.c b/src/object.c index 90fa28254..a5705ea5a 100644 --- a/src/object.c +++ b/src/object.c @@ -1403,7 +1403,7 @@ robj *objectCommandLookup(client *c, robj *key) { robj *objectCommandLookupOrReply(client *c, robj *key, robj *reply) { robj *o = objectCommandLookup(c,key); - if (!o) SentReplyOnKeyMiss(c, reply); + if (!o) addReplyOrErrorObject(c, reply); return o; } |