mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 18:03:37 +02:00
connection::actions(): Fix command masking
This commit is contained in:
parent
7b7b2cf76d
commit
04fc7b4b7a
1 changed files with 1 additions and 2 deletions
|
@ -60,9 +60,8 @@ connection::actions(class agent &agent)
|
|||
return;
|
||||
}
|
||||
|
||||
while (in_buf.c_str()[0] != '\r') {
|
||||
int mask = 0;
|
||||
|
||||
while (in_buf.c_str()[0] != '\r') {
|
||||
int nlofs = in_buf.find("\r\n");
|
||||
std::string line = in_buf.substr(0, nlofs);
|
||||
in_buf.erase(0, nlofs + 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue