aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-02-12 11:32:49 +0000
committerOmar Polo <op@omarpolo.com>2021-02-12 11:32:49 +0000
commit98ee8406aaf0b3c06d009e75e17594692c1dabb3 (patch)
tree20ff1d6991e1df74245a4e9b2ddd5ba1d2c38ef5 /server.c
parenta4188b78652d42ce5c6c19d01347e8737dfc509f (diff)
fix occurrence of (killed) load_file
Diffstat (limited to 'server.c')
-rw-r--r--server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.c b/server.c
index b499057..6a987d5 100644
--- a/server.c
+++ b/server.c
@@ -692,7 +692,8 @@ open_dir(struct client *c)
/* fallthrough */
case FILE_EXISTS:
- load_file(c);
+ c->next = handle_copy;
+ start_reply(c, SUCCESS, mime(c->host, c->iri.path));
break;
case FILE_DIRECTORY: