summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-01 17:48:10 -0400
committerDavid Robillard <d@drobilla.net>2016-10-01 17:49:09 -0400
commit1596ee0dc79676baaee49fad1d5502aee4dc5c1f (patch)
tree7c2f31750504ea9aea63c44a5e0ec019178b20f3 /src
parent75b62f5cb8a6bb5b0387969eeaa13715e505b9bc (diff)
downloadingen-1596ee0dc79676baaee49fad1d5502aee4dc5c1f.tar.gz
ingen-1596ee0dc79676baaee49fad1d5502aee4dc5c1f.tar.bz2
ingen-1596ee0dc79676baaee49fad1d5502aee4dc5c1f.zip
Fix loading a graph by copying from the filesystem
Diffstat (limited to 'src')
-rw-r--r--src/server/events/Copy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp
index 03519610..30ffb43d 100644
--- a/src/server/events/Copy.cpp
+++ b/src/server/events/Copy.cpp
@@ -79,7 +79,7 @@ Copy::pre_process(PreProcessContext& ctx)
}
} else if (_old_uri.scheme() == "file") {
if (Node::uri_is_path(_new_uri)) {
- filesystem_to_engine(ctx);
+ return filesystem_to_engine(ctx);
} else {
// Ingen is not your file manager
return Event::pre_process_done(Status::BAD_REQUEST);