Wireshark-commits: [Wireshark-commits] master-2.0 8fb4f83: Just use strncmp() to check the prefix o
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 14 Dec 2016 23:05:25 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8fb4f83064db277d8043c3b052a230ce0c060931
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

8fb4f83 by Guy Harris (guy@xxxxxxxxxxxx):

    Just use strncmp() to check the prefix of the file's first line.
    
    Bug: 13246
    Change-Id: I9df35596aa8dcb937f6a03cf60b5d0fbe9dce1ec
    Reviewed-on: https://code.wireshark.org/review/19276
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 1afbab69956c32b341001dd20ff667036fe1f8f5)
    Reviewed-on: https://code.wireshark.org/review/19278
    

Actions performed:

    from  43ee6cb   Don't assume we've read a line long enough to contain a magic number.
    adds  8fb4f83   Just use strncmp() to check the prefix of the file's first line.


Summary of changes:
 wiretap/daintree-sna.c |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)