diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-09-29 07:44:40 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-09-29 07:44:40 +0000 |
commit | 4bdf8638b5cfb65580e96405adf67a788013b91b (patch) | |
tree | 0cf1cfe2ec5c688de833b2b81434a6d784197805 /wiretap/daintree-sna.c | |
parent | ee37f6194f32d263831941c0d70b1810a616e26c (diff) | |
download | wireshark-4bdf8638b5cfb65580e96405adf67a788013b91b.tar.gz |
Read nsecs as a signed value.
svn path=/trunk/; revision=30189
Diffstat (limited to 'wiretap/daintree-sna.c')
-rw-r--r-- | wiretap/daintree-sna.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/daintree-sna.c b/wiretap/daintree-sna.c index 73884e4e4d..3369ef4eea 100644 --- a/wiretap/daintree-sna.c +++ b/wiretap/daintree-sna.c @@ -146,7 +146,7 @@ daintree_sna_read(wtap *wth, int *err, gchar **err_info _U_, gint64 *data_offset } while (readLine[0] == COMMENT_LINE); /* parse one line of capture data */ - if (sscanf(readLine, "%*s %" G_GINT64_MODIFIER "u.%u %u %s", + if (sscanf(readLine, "%*s %" G_GINT64_MODIFIER "u.%d %u %s", &seconds, &wth->phdr.ts.nsecs, &wth->phdr.len, readData) != 4) { *err = WTAP_ERR_BAD_RECORD; |