summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-28 22:52:13 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-28 22:52:13 +0000
commita112eeb4d052b1212f94e95efd83a215213da691 (patch)
treecc023a901e0cbbd14e79a3ce084691fd9445c03a /src/tools
parenta76f484d1e5c6c44c8d2e4938340e8559b2ef65a (diff)
Small fixes and tidy-ups spotted by cppcheck.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_server_cli.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_server_cli.cc b/src/tools/dcpomatic_server_cli.cc
index b816460a3..80f4a0d0c 100644
--- a/src/tools/dcpomatic_server_cli.cc
+++ b/src/tools/dcpomatic_server_cli.cc
@@ -112,7 +112,7 @@ main (int argc, char* argv[])
try {
server.run (num_threads);
- } catch (boost::system::system_error e) {
+ } catch (boost::system::system_error& e) {
if (e.code() == boost::system::errc::address_in_use) {
cerr << argv[0] << ": address already in use. Is another DCP-o-matic server instance already running?\n";
exit (EXIT_FAILURE);