aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aim-directory.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-09-30 19:12:26 -0400
committerBill Meier <wmeier@newsguy.com>2014-09-30 23:17:01 +0000
commit01b093c24d53c8304b4e36741a0df00125105795 (patch)
tree172df29bcfb12a6af1c8b5a04516a6374f8c9d97 /epan/dissectors/packet-aim-directory.c
parent0cc027cc267952e51e7b17e8e3cef51592f9e013 (diff)
Add editor modelines; Adjust whitespace as needed.
Change-Id: I434da226c842298f4fb2a4335d06d51e164af2af Reviewed-on: https://code.wireshark.org/review/4394 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-aim-directory.c')
-rw-r--r--epan/dissectors/packet-aim-directory.c37
1 files changed, 25 insertions, 12 deletions
diff --git a/epan/dissectors/packet-aim-directory.c b/epan/dissectors/packet-aim-directory.c
index 84433c61f0..523aec0331 100644
--- a/epan/dissectors/packet-aim-directory.c
+++ b/epan/dissectors/packet-aim-directory.c
@@ -40,20 +40,20 @@ static int ett_aim_directory = -1;
static int dissect_aim_directory_user_repl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- int offset = 0;
- while (tvb_length_remaining(tvb, offset) > 0) {
- offset = dissect_aim_tlv(tvb, pinfo, offset, tree, aim_client_tlvs);
- }
- return offset;
+ int offset = 0;
+ while (tvb_length_remaining(tvb, offset) > 0) {
+ offset = dissect_aim_tlv(tvb, pinfo, offset, tree, aim_client_tlvs);
+ }
+ return offset;
}
static const aim_subtype aim_fnac_family_directory[] = {
- { 0x0001, "Error", dissect_aim_snac_error },
- { 0x0002, "Client search for user request", NULL },
- { 0x0003, "Server reply for search request (found users)", dissect_aim_directory_user_repl },
- { 0x0004, "Request interests list from server", NULL },
- { 0x0005, "Interests list", NULL },
- { 0, NULL, NULL },
+ { 0x0001, "Error", dissect_aim_snac_error },
+ { 0x0002, "Client search for user request", NULL },
+ { 0x0003, "Server reply for search request (found users)", dissect_aim_directory_user_repl },
+ { 0x0004, "Request interests list from server", NULL },
+ { 0x0005, "Interests list", NULL },
+ { 0, NULL, NULL },
};
@@ -69,7 +69,7 @@ proto_register_aim_directory(void)
/* Setup protocol subtree array */
static gint *ett[] = {
- &ett_aim_directory
+ &ett_aim_directory
};
/* Register the protocol name and description */
proto_aim_directory = proto_register_protocol("AIM Directory Search", "AIM Directory", "aim_dir");
@@ -85,3 +85,16 @@ proto_reg_handoff_aim_directory(void)
{
aim_init_family(proto_aim_directory, ett_aim_directory, FAMILY_DIRECTORY, aim_fnac_family_directory);
}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local Variables:
+ * c-basic-offset: 2
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=2 tabstop=8 expandtab:
+ * :indentSize=2:tabSize=8:noTabs=true:
+ */