aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2016-02-13 20:51:01 +0100
committerJörg Mayer <jmayer@loplof.de>2016-02-13 19:54:02 +0000
commitc0bdaf15e2b524c60320096d2050087be52e3d44 (patch)
treeb5335576a4a031cc9d4e289378e8077d36fe3ceb
parent137358a404d0255a6976dea22b8705b54583c8d7 (diff)
Fix an indentation to get rid of
text2pcap.c:1254:17: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] Change-Id: Ifa031f5faad3445bcd3ab893d83c5dc6386fe3a2 Reviewed-on: https://code.wireshark.org/review/13927 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
-rw-r--r--text2pcap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/text2pcap.c b/text2pcap.c
index 934709d468..bd72a5e975 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -1249,9 +1249,10 @@ parse_token (token_t token, char *str)
write_current_packet(FALSE);
state = INIT;
}
- } else
+ } else {
state = READ_OFFSET;
- pkt_lnstart = packet_buf + num;
+ }
+ pkt_lnstart = packet_buf + num;
break;
case T_EOL:
state = START_OF_LINE;