aboutsummaryrefslogtreecommitdiff
path: root/src/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.cpp')
-rw-r--r--src/network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network.cpp b/src/network.cpp
index 673cc24..39eec4c 100644
--- a/src/network.cpp
+++ b/src/network.cpp
@@ -111,8 +111,8 @@ void peernetwork_send_msg(peernetwork_t *self,
void peernetwork_multicast_msg(peernetwork_t *self,
msg_t *_moved_msg,
- const netaddr_t *paddrs, size_t npaddrs) {
- self->_multicast_msg(std::move(*_moved_msg), paddrs, npaddrs);
+ const netaddr_array_t *paddrs) {
+ self->multicast_msg(std::move(*_moved_msg), *paddrs);
delete _moved_msg;
}