Skip to content

Commit

Permalink
Fix bug where websocket commands are not performed
Browse files Browse the repository at this point in the history
  • Loading branch information
Abász committed Sep 1, 2023
1 parent 9755c83 commit 0ace170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peripherals/network.service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ vector<unsigned char> NetworkService::parseOpCode(string requestOpCommand)
auto opCommand = vector<unsigned char>();

string parsed;
while (requestOpCommand.empty())
while (!requestOpCommand.empty())
{
auto position = requestOpCommand.find(",");
if (position == string::npos)
Expand Down

0 comments on commit 0ace170

Please sign in to comment.