Do not use socket_ok .. but readable (as specified in precondition of read_stream_thread_aware

This commit is contained in:
Jocelyn Fiat
2013-03-26 09:16:34 +01:00
parent 1ee6ffa725
commit 955272f505

View File

@@ -54,7 +54,7 @@ feature -- Input
do
src := source
last_string.wipe_out
if src.socket_ok then
if src.readable then
src.read_stream_thread_aware (nb)
last_string.append_string (src.last_string)
end