From e53dbef46a95595e3d62c15cd1ae9b48acaf2444 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 17 Aug 2020 17:12:49 +0000 Subject: [PATCH] fixed a minor bug in Sttp.cpp --- qse/lib/sttp/Sttp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qse/lib/sttp/Sttp.cpp b/qse/lib/sttp/Sttp.cpp index 45c61642..c8f511e9 100644 --- a/qse/lib/sttp/Sttp.cpp +++ b/qse/lib/sttp/Sttp.cpp @@ -273,12 +273,12 @@ int Sttp::handle_param_list_char (qse_char_t c) { 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->rd_state_stack->u.ipl.got_value = false; this->pop_read_state (); // back to the START state. - int x = this->handle_command (this->command); + int x = this->handle_command(this->command); this->command.clear (); if (x <= -1) return -1; }