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:
Dario Lombardo 2018-05-23 16:13:39 +02:00 committed by Roland Knall
parent 1a80691ee7
commit 83f6dd4ef9
1 changed files with 1 additions and 0 deletions

View File

@ -486,6 +486,7 @@ ws_read_string_from_pipe(ws_pipe_handle read_pipe, gchar *buffer,
}
if (bytes_avail <= 0)
{
ret = TRUE;
break;
}