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(-)