Wireshark-commits: [Wireshark-commits] master-3.0 3dd28d3: ws_pipe: fix return value of ws_pipe_spa

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 02 Dec 2019 19:39:22 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3dd28d31c93d70058df35c45d8fa22e22dc82e92
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

3dd28d3 by Peter Wu (peter@xxxxxxxxxxxxx):

    ws_pipe: fix return value of ws_pipe_spawn_async on error path
    
    The function returns a GPid, not a gboolean. Callers (mmdbresolv and
    extcap) only assume WS_INVALID_PID to be invalid (as documented).
    
    Change-Id: I40b491272a451f569864fa3259009d6d3fcce772
    Fixes: v2.5.1rc0-413-g1a0987904f ("Generalize our process spawning code.")
    Reviewed-on: https://code.wireshark.org/review/32933
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Tomasz Moń <desowin@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 51ac1047a7e434a0b2e264780b2fa31f1d986898)
    Reviewed-on: https://code.wireshark.org/review/35290
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  8b020e1   wsutil: Refactor WIN32 ws_pipe_wait_for_pipe()
     add  3dd28d3   ws_pipe: fix return value of ws_pipe_spawn_async on error path


Summary of changes:
 wsutil/ws_pipe.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)