diff options
Diffstat (limited to 'src/multiplexer.cc')
-rw-r--r-- | src/multiplexer.cc | 2 |
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; |