aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-03-25 13:36:31 -0700
committerGuy Harris <guy@alum.mit.edu>2018-03-25 20:37:04 +0000
commit6a75c59a22b1ec6b0d34dbe90b85a5ca275bc680 (patch)
treeac0dff5606853086c5447a0ab59842345eb7dd46 /epan/proto.c
parent5bfacbfa891d349d6d2cdb5beb893c076e907564 (diff)
Fix whitespace.
Change-Id: I565969aa18628a635c2471da56c43cf2689c44d5 Reviewed-on: https://code.wireshark.org/review/26640 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/epan/proto.c b/epan/proto.c
index f740112a93..0d3f5cf6da 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -411,13 +411,13 @@ proto_compare_name(gconstpointer p1_arg, gconstpointer p2_arg)
static inline guchar
check_charset(const guint8 table[256], const char *str)
{
- const char *p = str;
- guchar c;
+ const char *p = str;
+ guchar c;
- do {
- c = *(p++);
- } while (table[c]);
- return c;
+ do {
+ c = *(p++);
+ } while (table[c]);
+ return c;
}
#ifdef HAVE_PLUGINS
@@ -1305,7 +1305,7 @@ proto_tree_add_format_wsp_text(proto_tree *tree, tvbuff_t *tvb, gint start, gint
{
proto_item *pi;
header_field_info *hfinfo;
- gchar* str;
+ gchar *str;
CHECK_FOR_NULL_TREE(tree);
@@ -7044,7 +7044,7 @@ proto_register_fields_section(const int parent, header_field_info *hfi, const in
proto->fields = g_ptr_array_sized_new(num_records);
}
- for (i = 0; i < num_records; i++) {
+ for (i = 0; i < num_records; i++) {
/*
* Make sure we haven't registered this yet.
*/
@@ -7296,7 +7296,7 @@ static const value_string hf_display[] = {
const char* proto_field_display_to_string(int field_display)
{
- return val_to_str_const(field_display, hf_display, "Unknown");
+ return val_to_str_const(field_display, hf_display, "Unknown");
}
static inline port_type