minor change: reuse local variable
This commit is contained in:
@@ -197,8 +197,8 @@ feature -- Retrieve content from WGI_INPUT_STREAM
|
|||||||
n: INTEGER
|
n: INTEGER
|
||||||
s: STRING
|
s: STRING
|
||||||
do
|
do
|
||||||
|
l_input := req.input
|
||||||
if req.is_chunked_input then
|
if req.is_chunked_input then
|
||||||
l_input := req.input
|
|
||||||
from
|
from
|
||||||
n := 1_024
|
n := 1_024
|
||||||
create Result.make (n)
|
create Result.make (n)
|
||||||
@@ -217,8 +217,8 @@ feature -- Retrieve content from WGI_INPUT_STREAM
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
req.input.read_string (req.content_length_value.as_integer_32)
|
l_input.read_string (req.content_length_value.as_integer_32)
|
||||||
Result := req.input.last_string
|
Result := l_input.last_string
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user