Skip to content

Commit

Permalink
modules/network: Fix broken formatting
Browse files Browse the repository at this point in the history
The resulting linter error is probably caused by the update of
clang-format.
  • Loading branch information
taminob committed Oct 22, 2023
1 parent 552ff7e commit 685a489
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,7 @@ int waybar::modules::Network::handleEvents(struct nl_msg *msg, void *data) {
higher priority. Disable router -> RTA_GATEWAY -> up new router -> set higher priority added
checking route id
**/
if (!is_del_event &&
((net->ifid_ == -1) || (priority < net->route_priority))) {
if (!is_del_event && ((net->ifid_ == -1) || (priority < net->route_priority))) {
// Clear if's state for the case were there is a higher priority
// route on a different interface.
net->clearIface();
Expand Down

0 comments on commit 685a489

Please sign in to comment.