aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-logcat.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2020-08-18 14:26:03 -0700
committerGuy Harris <gharris@sonic.net>2020-08-18 21:26:56 +0000
commitf5f010568a886f526bc27e573d8ac525028bc165 (patch)
tree1a1928d8322477e1c038605fbda674a1c501d016 /epan/dissectors/packet-logcat.c
parentf915bc7523f0c238612b8e9ae800f6b36c6d3d35 (diff)
logcat: fix indentation.
Change-Id: Ia23acfdaf78af20760f18169c57ae770b399e0d2 Reviewed-on: https://code.wireshark.org/review/38193 Reviewed-by: Guy Harris <gharris@sonic.net>
Diffstat (limited to 'epan/dissectors/packet-logcat.c')
-rw-r--r--epan/dissectors/packet-logcat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-logcat.c b/epan/dissectors/packet-logcat.c
index 3444d3733f..aec4421ce3 100644
--- a/epan/dissectors/packet-logcat.c
+++ b/epan/dissectors/packet-logcat.c
@@ -157,10 +157,10 @@ dissect_logcat(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
/* New line characters convert to spaces to ensure column Info display one line */
if (pref_one_line_info_column) {
- while ((c = g_utf8_strchr(log, string_length, '\n')))
- *c = ' ';
- while ((c = g_utf8_strchr(log, string_length, '\r')))
- *c = ' ';
+ while ((c = g_utf8_strchr(log, string_length, '\n')))
+ *c = ' ';
+ while ((c = g_utf8_strchr(log, string_length, '\r')))
+ *c = ' ';
}
subitem = proto_tree_add_item(maintree, hf_logcat_log, tvb, offset, string_length, ENC_UTF_8 | ENC_NA);