Skip to content
Snippets Groups Projects
Commit 68352945 authored by tho's avatar tho
Browse files

minor fix for g++ warning

parent de564f2f
No related branches found
No related tags found
No related merge requests found
...@@ -402,7 +402,7 @@ prefix_ void senf::term::BaseTelnetProtocol::response(OptInfo & info, bool enabl ...@@ -402,7 +402,7 @@ prefix_ void senf::term::BaseTelnetProtocol::response(OptInfo & info, bool enabl
else if (enabled != info.enabled) { else if (enabled != info.enabled) {
// Request to change the current state // Request to change the current state
if (!enabled || if (!enabled ||
enabled && (info.wantState == OptInfo::WANTED || info.wantState == OptInfo::ACCEPTED)) { (enabled && (info.wantState == OptInfo::WANTED || info.wantState == OptInfo::ACCEPTED))) {
// accept the request // accept the request
info.optionState = OptInfo::ACKNOWLEDGED; info.optionState = OptInfo::ACKNOWLEDGED;
info.enabled = enabled; info.enabled = enabled;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment