Skip to content

Commit fdd40ff

Browse files
committed
minor change: reuse local variable
1 parent 8654081 commit fdd40ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/server/wsf/extension/wsf_resource_handler_helper.e

+3-3
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ feature -- Retrieve content from WGI_INPUT_STREAM
197197
n: INTEGER
198198
s: STRING
199199
do
200+
l_input := req.input
200201
if req.is_chunked_input then
201-
l_input := req.input
202202
from
203203
n := 1_024
204204
create Result.make (n)
@@ -217,8 +217,8 @@ feature -- Retrieve content from WGI_INPUT_STREAM
217217
end
218218
end
219219
else
220-
req.input.read_string (req.content_length_value.as_integer_32)
221-
Result := req.input.last_string
220+
l_input.read_string (req.content_length_value.as_integer_32)
221+
Result := l_input.last_string
222222
end
223223
end
224224

0 commit comments

Comments
 (0)