ws_pipe: fix return code on windows.
Change-Id: I30d24a5cad1991c2ce6a0f2a63fbe715b92943ec Reviewed-on: https://code.wireshark.org/review/27745 Reviewed-by: Kenneth Soerensen <knnthsrnsn@gmail.com> Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Roland Knall <rknall@gmail.com>
This commit is contained in:
parent
1a80691ee7
commit
83f6dd4ef9
|
@ -486,6 +486,7 @@ ws_read_string_from_pipe(ws_pipe_handle read_pipe, gchar *buffer,
|
|||
}
|
||||
if (bytes_avail <= 0)
|
||||
{
|
||||
ret = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue