diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-11-08 17:17:57 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-11-08 17:17:57 +0000 |
commit | 5a0809c718374e0162afb1fc1df8497f942d18fc (patch) | |
tree | fc7c486e0f93038e1f473a6bf60fc76a8610b782 /wiretap/camins.c | |
parent | 6159e98cd38ba8afa4e6587b75dfd82250357fd1 (diff) |
(Trivial) whitespace cleanup (mostly trailing whitespace).
svn path=/trunk/; revision=53172
Diffstat (limited to 'wiretap/camins.c')
-rw-r--r-- | wiretap/camins.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wiretap/camins.c b/wiretap/camins.c index 7163201420..c143567f71 100644 --- a/wiretap/camins.c +++ b/wiretap/camins.c @@ -86,7 +86,7 @@ typedef enum { SIZE_HAVE_NONE, SIZE_HAVE_LOW, SIZE_HAVE_HIGH, - SIZE_HAVE_ALL + SIZE_HAVE_ALL } size_read_t; #define RESET_STAT_VALS \ @@ -124,7 +124,7 @@ read_block(FILE_T fh, guint8 *buf, guint16 buf_len, int *err, gchar **err_info) } return FALSE; } - + return TRUE; } @@ -200,7 +200,7 @@ find_next_pkt_dat_type_len(FILE_T fh, static gint read_packet_data(FILE_T fh, guint8 dat_trans_type, guint8 *buf, guint16 dat_len, int *err, gchar **err_info) -{ +{ guint8 *p; guint8 block[2]; guint16 bytes_count = 0; @@ -224,7 +224,7 @@ read_packet_data(FILE_T fh, guint8 dat_trans_type, guint8 *buf, guint16 dat_len, else if (IS_TRANS_SIZE(block[1])) { /* go back before the size transaction block the next packet should be able to pick up this block */ - if (-1 == file_seek(fh, -(gint64)sizeof(block), SEEK_CUR, err)) + if (-1 == file_seek(fh, -(gint64)sizeof(block), SEEK_CUR, err)) return -1; break; } @@ -232,7 +232,7 @@ read_packet_data(FILE_T fh, guint8 dat_trans_type, guint8 *buf, guint16 dat_len, return bytes_count; } - + /* create a DVB-CI pseudo header return its length or -1 for error */ @@ -257,7 +257,7 @@ create_pseudo_hdr(guint8 *buf, guint8 dat_trans_type, guint16 dat_len) return DVB_CI_PSEUDO_HDR_LEN; } - + static gboolean camins_read_packet(FILE_T fh, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) |