Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/lsl_cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ inline int32_t check_error(int32_t ec) {
switch (ec) {
case lsl_timeout_error: throw timeout_error("The operation has timed out.");
case lsl_lost_error:
throw timeout_error(
throw lost_error(
"The stream has been lost; to continue reading, you need to re-resolve it.");
case lsl_argument_error:
throw std::invalid_argument("An argument was incorrectly specified.");
Expand Down
2 changes: 1 addition & 1 deletion src/netinterfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ std::vector<lsl::netif> lsl::get_local_interfaces() {
// No address? Skip.
if (addr->ifa_addr == nullptr) continue;
LOG_F(INFO, "netif '%s' (status: %d, multicast: %d, broadcast: %d)", addr->ifa_name,
addr->ifa_flags & IFF_MULTICAST, addr->ifa_flags & IFF_UP,
addr->ifa_flags & IFF_UP, addr->ifa_flags & IFF_MULTICAST,
addr->ifa_flags & IFF_BROADCAST);
// Interface doesn't support multicast? Skip.
if (!(addr->ifa_flags & IFF_MULTICAST)) continue;
Expand Down