summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index f8c68ed2e..8a23f67c3 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -1170,7 +1170,7 @@ void UDPPeer::RunCommandQueues(
channels[i].queued_commands.push_front(c);
}
}
- catch (ItemNotFoundException e) {
+ catch (ItemNotFoundException &e) {
// intentionally empty
}
}
@@ -2067,7 +2067,7 @@ void ConnectionReceiveThread::receive()
m_connection->putEvent(e);
}
}
- catch(ProcessedSilentlyException e) {
+ catch(ProcessedSilentlyException &e) {
/* try reading again */
}
}