aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ftp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-12-13 00:44:32 +0000
committerBill Meier <wmeier@newsguy.com>2013-12-13 00:44:32 +0000
commit721b5d266a3db568a56fde2fae9fa59bcd45b1ea (patch)
tree0daea49b9d012e380c20318c813ccf9faa4908e2 /epan/dissectors/packet-ftp.c
parent2fd6bb79ea184478fb195a3882c9cfa2122b3aa5 (diff)
Do one or more of the following:
- Convert "4 space tabs" to spaces; - Remove some unneeded initializers; - 'offset++' --> 'offset += 1' for consistency; - Reformat hf[] entries; - Rework/add whitespace; - Adjust editor modelines (set tab-width to 8). svn path=/trunk/; revision=54005
Diffstat (limited to 'epan/dissectors/packet-ftp.c')
-rw-r--r--epan/dissectors/packet-ftp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ftp.c b/epan/dissectors/packet-ftp.c
index 762b64b324..0c9c66ecf4 100644
--- a/epan/dissectors/packet-ftp.c
+++ b/epan/dissectors/packet-ftp.c
@@ -526,8 +526,8 @@ static void
dissect_ftp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
gboolean is_request;
- proto_tree *ftp_tree = NULL;
- proto_tree *reqresp_tree = NULL;
+ proto_tree *ftp_tree;
+ proto_tree *reqresp_tree;
proto_item *ti, *hidden_item;
gint offset;
const guchar *line;
@@ -1080,10 +1080,10 @@ proto_reg_handoff_ftp(void)
*
* Local variables:
* c-basic-offset: 4
- * tab-width: 4
+ * tab-width: 8
* indent-tabs-mode: nil
* End:
*
- * vi: set shiftwidth=4 tabstop=4 expandtab:
- * :indentSize=4:tabSize=4:noTabs=true:
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
*/