ws_pipe: fix return code on windows.
authorDario Lombardo <lomato@gmail.com>
Wed, 23 May 2018 14:13:39 +0000 (16:13 +0200)
committerRoland Knall <rknall@gmail.com>
Wed, 23 May 2018 16:04:11 +0000 (16:04 +0000)
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>
wsutil/ws_pipe.c

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