Wireshark-commits: [Wireshark-commits] master 1afbab6: Just use strncmp() to check the prefix of th

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 14 Dec 2016 23:03:29 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1afbab69956c32b341001dd20ff667036fe1f8f5
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

1afbab6 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>
    

Actions performed:

    from  5fdbb7a   Don't assume we've read a line long enough to contain a magic number.
    adds  1afbab6   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(-)