summaryrefslogtreecommitdiff
path: root/src/gopher.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gopher.c')
-rw-r--r--src/gopher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gopher.c b/src/gopher.c
index 38e44f754..6e4485cb3 100644
--- a/src/gopher.c
+++ b/src/gopher.c
@@ -50,7 +50,7 @@ void addReplyGopherItem(client *c, const char *type, const char *descr,
* protocol. */
void processGopherRequest(client *c) {
robj *keyname = c->argc == 0 ? createStringObject("/",1) : c->argv[0];
- robj *o = lookupKeyRead(c->db,keyname);
+ robj *o = lookupKeyRead(c->db,keyname,NULL);
/* If there is no such key, return with a Gopher error. */
if (o == NULL || o->type != OBJ_STRING) {