Wireshark-commits: [Wireshark-commits] master-2.2 25f0dc6: Dumpcap: Improve an error message.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 31 Jan 2017 00:22:29 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=25f0dc6131a1fe94359304d1815e659912337f5e
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

25f0dc6 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Dumpcap: Improve an error message.
    
    Dumpcap doesn't yet support capturing pcapng from stdin. On Windows,
    make sure we invalidate our file handle so that instead of printing
    
      "Error reading from pipe: The operation completed successfully. (error 0)"
    
    we show the more useful
    
      "Capturing from a pipe doesn't support pcapng format."
    
    Change-Id: I472c1bf5c8520c9ee3fe4b6299a6e0250262ea51
    Reviewed-on: https://code.wireshark.org/review/19876
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    (cherry picked from commit bd86a45006c20bcce4e5754fc575363ab7b33f66)
    Reviewed-on: https://code.wireshark.org/review/19878
    

Actions performed:

    from  43c1524   [Automatic update for 2017-01-29]
    adds  25f0dc6   Dumpcap: Improve an error message.


Summary of changes:
 dumpcap.c |    3 +++
 1 file changed, 3 insertions(+)