fixed fallthough warning for C++17

This commit is contained in:
orignal 2020-02-28 14:15:41 -05:00
parent 1893127e84
commit e0cb26bd9e
5 changed files with 5 additions and 4 deletions

View file

@ -433,6 +433,7 @@ namespace proxy
break;
case CMD_UDP:
if (m_socksv == SOCKS5) break;
[[fallthrough]];
default:
LogPrint(eLogError, "SOCKS: invalid command: ", ((int)*sock_buff));
SocksRequestFailed(SOCKS5_GEN_FAIL);