Do not use put_readable_string_8_noexception, and just update put_string_8_noexception to accept READABLE_STRING_8.
This commit is contained in:
@@ -206,7 +206,7 @@ feature -- Output
|
|||||||
put_managed_pointer_noexception (socket_buffer, 0, character_8_bytes)
|
put_managed_pointer_noexception (socket_buffer, 0, character_8_bytes)
|
||||||
end
|
end
|
||||||
|
|
||||||
put_readable_string_8_noexception (s: READABLE_STRING_8)
|
put_string_8_noexception (s: READABLE_STRING_8)
|
||||||
-- Write readable string `s' to socket.
|
-- Write readable string `s' to socket.
|
||||||
-- No exception raised!
|
-- No exception raised!
|
||||||
local
|
local
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ feature -- Output
|
|||||||
-- Send `s' to http client
|
-- Send `s' to http client
|
||||||
do
|
do
|
||||||
last_target_call_succeed := False
|
last_target_call_succeed := False
|
||||||
target.put_readable_string_8_noexception (s)
|
target.put_string_8_noexception (s)
|
||||||
last_target_call_succeed := not target.was_error
|
last_target_call_succeed := not target.was_error
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ feature -- Output
|
|||||||
-- Send `s' to http client
|
-- Send `s' to http client
|
||||||
do
|
do
|
||||||
last_target_call_succeed := False
|
last_target_call_succeed := False
|
||||||
target.put_readable_string_8_noexception (s)
|
target.put_string_8_noexception (s)
|
||||||
last_target_call_succeed := not target.was_error
|
last_target_call_succeed := not target.was_error
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user