summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-16 04:43:26 +0000
committerDavid Robillard <d@drobilla.net>2008-08-16 04:43:26 +0000
commit20e16797b9ee1de90d8409bd15212b9800c9d6da (patch)
tree77dcc6259b429a114919bd8c934ba6de4637f813 /src/progs
parentbf6f4d0a409ba76e65d375ef75533d6a6062a228 (diff)
downloadingen-20e16797b9ee1de90d8409bd15212b9800c9d6da.tar.gz
ingen-20e16797b9ee1de90d8409bd15212b9800c9d6da.tar.bz2
ingen-20e16797b9ee1de90d8409bd15212b9800c9d6da.zip
Fix 'ingen -egl'.
Never crash on an HTTP message (remove asserts, return errors instead). git-svn-id: http://svn.drobilla.net/lad/ingen@1399 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/ingen/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp
index 47f7a038..b4e930a4 100644
--- a/src/progs/ingen/main.cpp
+++ b/src/progs/ingen/main.cpp
@@ -160,7 +160,8 @@ main(int argc, char** argv)
parent_path = args.path_arg;
bool found = false;
- world->serialisation_module = Ingen::Shared::load_module("ingen_serialisation");
+ if (!world->serialisation_module)
+ world->serialisation_module = Ingen::Shared::load_module("ingen_serialisation");
Serialisation::Loader* (*new_loader)() = NULL;