aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/src/connection_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/src/connection_manager.cpp')
-rw-r--r--daemon/src/connection_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/src/connection_manager.cpp b/daemon/src/connection_manager.cpp
index 820f1d2..3b2d7da 100644
--- a/daemon/src/connection_manager.cpp
+++ b/daemon/src/connection_manager.cpp
@@ -24,7 +24,7 @@ callback(double time_stamp, std::vector<unsigned char> *raw, void *user_data)
std::cerr << "Received message with wrong size from " << device->source_id << ", dropping\n";
}
- Message message { device->source_id, {raw->at(0), raw->at(1), raw->at(2)} };
+ Message message { &device->source_id, {raw->at(0), raw->at(1), raw->at(2)} };
device->submit(message);
}