Wireshark-commits: [Wireshark-commits] master df83895: Make sure *err and *err_info are set when re

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 16 Oct 2014 01:17:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=df8389559fcb99443f4e99f4fa2130329359426c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

df83895 by Guy Harris (guy@xxxxxxxxxxxx):

    Make sure *err and *err_info are set when returning PCAPNG_BLOCK_NOT_SHB.
    
    Clean up a comment and indentation while we're at it.
    
    Change-Id: Ia2b0a3f642849dcd464e04cdca13ff05c2fbe2e6
    Reviewed-on: https://code.wireshark.org/review/4717
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  9cfab55   The record offset block begins with a 1-byte(!) header.
    adds  df83895   Make sure *err and *err_info are set when returning PCAPNG_BLOCK_NOT_SHB.


Summary of changes:
 wiretap/pcapng.c |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)