fixed a minor bug in Sttp.cpp

This commit is contained in:
hyung-hwan 2020-08-17 17:12:49 +00:00
parent 0adea0187c
commit e53dbef46a

View File

@ -273,7 +273,7 @@ int Sttp::handle_param_list_char (qse_char_t c)
{ {
if (this->rd_state_stack->u.ipl.got_value || this->command.getArgCount() == 0) if (this->rd_state_stack->u.ipl.got_value || this->command.getArgCount() == 0)
{ {
this->command.addArg (this->token); if (this->rd_state_stack->u.ipl.got_value) this->command.addArg (this->token);
this->clear_token(); this->clear_token();
this->rd_state_stack->u.ipl.got_value = false; this->rd_state_stack->u.ipl.got_value = false;
this->pop_read_state (); // back to the START state. this->pop_read_state (); // back to the START state.