aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btrfcomm.h
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2012-03-12 14:38:59 +0000
committerBill Meier <wmeier@newsguy.com>2012-03-12 14:38:59 +0000
commitba2cda4ef0e5a13e3d1d22cc21fb0220d2de2056 (patch)
tree5db7c3abd3c87e02e341a049ea84a3f35219403d /epan/dissectors/packet-btrfcomm.h
parent3394b453aff33812913c78ae6eacdbfe6763ced1 (diff)
Cleanup & minor bug fixes:
- Don't put a value_string array in a .h file (included in several .c files); - 'if ((a!=NULL) && !b) {fail}' should be 'if ((a==NULL) || !b) {fail}' in a few cases; - Use value_string_ext as appropriate; - Use val_to_str_const() in place of val_to_str() as appropriate; - Use tvb_new_subset_remaining(...) instead of tvb_new_subset(..., -1, -1); - Use tvb_reported_length_remaining() in place of tvb_length_remaining() in some cases; - tvb_reported_length_remaining() can return -1; - Use of TFS(&true_false) not req'd since "True"/"False" is the default if no TFS provided; - Reformat various (long lines, etc); - Use consistent indentation. svn path=/trunk/; revision=41502
Diffstat (limited to 'epan/dissectors/packet-btrfcomm.h')
-rw-r--r--epan/dissectors/packet-btrfcomm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-btrfcomm.h b/epan/dissectors/packet-btrfcomm.h
index cd1f30f75c..57e9981df0 100644
--- a/epan/dissectors/packet-btrfcomm.h
+++ b/epan/dissectors/packet-btrfcomm.h
@@ -29,9 +29,9 @@
* chandle, cid, dlci and direction
*/
typedef struct _btrfcomm_data_t {
- guint16 chandle; /* only low 12 bits used */
- guint16 cid;
- guint8 dlci;
+ guint16 chandle; /* only low 12 bits used */
+ guint16 cid;
+ guint8 dlci;
} btrfcomm_data_t;
#endif