summaryrefslogtreecommitdiff
path: root/src/object.c
diff options
context:
space:
mode:
authorMeir Shpilraien (Spielrein) <meir@redislabs.com>2021-08-10 10:19:21 +0300
committerGitHub <noreply@github.com>2021-08-10 10:19:21 +0300
commit8f8117f78e004fa5f5808239dcaedf9acdb8c828 (patch)
tree1d86361c47c71650718b13bbb4e580a3615878fc /src/object.c
parent02fd76b97cbc5b8ad6f4c81c8538f02c76cbed46 (diff)
downloadredis-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.c2
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;
}