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:
2016-10-13 21:53:12 +02:00
parent 897f64e4fe
commit 8b43cb909a
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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