summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-25 03:38:19 +0000
committerDavid Robillard <d@drobilla.net>2015-10-25 03:38:19 +0000
commitcbd64a410c165972f13d18e4260bb63b770b3c1f (patch)
tree30003a8ddbeef7a9629b97dde7c52f96d039de04 /src
parenta742608df99119717590b9004d562d1bf8c76ba9 (diff)
downloadingen-cbd64a410c165972f13d18e4260bb63b770b3c1f.tar.gz
ingen-cbd64a410c165972f13d18e4260bb63b770b3c1f.tar.bz2
ingen-cbd64a410c165972f13d18e4260bb63b770b3c1f.zip
Fix status code when port exists
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5782 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/server/events/CreatePort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/CreatePort.cpp b/src/server/events/CreatePort.cpp
index 0b58ee89..4988c480 100644
--- a/src/server/events/CreatePort.cpp
+++ b/src/server/events/CreatePort.cpp
@@ -91,7 +91,7 @@ CreatePort::pre_process()
} else if (_path.is_root()) {
return Event::pre_process_done(Status::BAD_URI, _path);
} else if (_engine.store()->get(_path)) {
- return Event::pre_process_done(_status, _path);
+ return Event::pre_process_done(Status::EXISTS, _path);
}
const Raul::Path parent_path = _path.parent();