summaryrefslogtreecommitdiff
path: root/src/multiplexer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/multiplexer.cc')
-rw-r--r--src/multiplexer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multiplexer.cc b/src/multiplexer.cc
index eafcc8b..69e727a 100644
--- a/src/multiplexer.cc
+++ b/src/multiplexer.cc
@@ -103,7 +103,7 @@ int Multiplexer::Write(void* data, int size)
{
int ret;
- multicast->Write(data, size);
+ if(multicast) multicast->Write(data, size);
ret = file->Write(data, size);
return ret;