summaryrefslogtreecommitdiff
path: root/wiretap/network_instruments.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-10-07 00:39:54 -0700
committerGuy Harris <guy@alum.mit.edu>2014-10-07 07:40:27 +0000
commit05d34b3ca1efb7d7061346402ce4487c887e6db3 (patch)
treeeea8fca5c706dc2bc7b0a8572c215a07f6977a85 /wiretap/network_instruments.c
parent3f101f2b3f58cd1a0a1f9658c65a4e1d76a452e3 (diff)
downloadwireshark-05d34b3ca1efb7d7061346402ce4487c887e6db3.tar.gz
Clean up white space.
Change-Id: I73f2406483c13c7917faed46db6fc1f5e2bc8fcd Reviewed-on: https://code.wireshark.org/review/4517 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/network_instruments.c')
-rw-r--r--wiretap/network_instruments.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/wiretap/network_instruments.c b/wiretap/network_instruments.c
index 1ecd43fb10..1235cd8dd9 100644
--- a/wiretap/network_instruments.c
+++ b/wiretap/network_instruments.c
@@ -129,7 +129,7 @@ int network_instruments_open(wtap *wth, int *err, gchar **err_info)
/* read in the buffer file header */
if (!wtap_read_bytes(wth->fh, &file_header, sizeof file_header,
- err, err_info)) {
+ err, err_info)) {
if (*err != WTAP_ERR_SHORT_READ)
return -1;
return 0;
@@ -174,8 +174,8 @@ int network_instruments_open(wtap *wth, int *err, gchar **err_info)
switch (tlvh.type) {
case INFORMATION_TYPE_TIME_INFO:
if (!wtap_read_bytes(wth->fh, &private_state->time_format,
- sizeof private_state->time_format,
- err, err_info))
+ sizeof private_state->time_format,
+ err, err_info))
return -1;
private_state->time_format = GUINT32_FROM_LE(private_state->time_format);
offset += (int)sizeof private_state->time_format;
@@ -205,7 +205,7 @@ int network_instruments_open(wtap *wth, int *err, gchar **err_info)
/* pull off the packet header */
if (!wtap_read_bytes(wth->fh, &packet_header, sizeof packet_header,
- err, err_info))
+ err, err_info))
return -1;
PACKET_ENTRY_HEADER_FROM_LE_IN_PLACE(packet_header);
@@ -337,7 +337,7 @@ read_packet_header(FILE_T fh, union wtap_pseudo_header *pseudo_header,
/* pull off the packet header */
if (!wtap_read_bytes_or_eof(fh, packet_header, sizeof *packet_header,
- err, err_info)) {
+ err, err_info)) {
if (*err == 0)
return 0; /* EOF */
return -1;
@@ -389,7 +389,7 @@ read_packet_header(FILE_T fh, union wtap_pseudo_header *pseudo_header,
switch (tlvh.type) {
case INFORMATION_TYPE_WIRELESS:
if (!wtap_read_bytes(fh, &wireless_header, sizeof wireless_header,
- err, err_info))
+ err, err_info))
return -1;
/* update the pseudo header */
pseudo_header->ieee_802_11.fcs_len = 0;