Skip to content

Commit 13cebfe

Browse files
committed
Forwarder: Get rid of warning
1 parent 9772dd1 commit 13cebfe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/plugins/output/forwarder/src/Connection.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ Connection::send_some()
110110
}
111111
}
112112
return true;
113-
114-
} else if (params.protocol == TransProto::Tcp) {
113+
} else {
115114
return buffer.send_data(sockfd) >= 0;
116115
}
117116
}

0 commit comments

Comments
 (0)