aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-01-01 15:14:51 -0800
committerGuy Harris <guy@alum.mit.edu>2015-01-01 23:15:23 +0000
commit6c24c7e3a8ede8630804959ce7bebd2965210965 (patch)
tree9ceca051cdd973cef2dcf02444aa1f0a55675279 /epan
parent43f09e67b4fcf83be61725c76755926500d5d9c3 (diff)
Clean up indentation.
Change-Id: I5aa6cafc6249b3a820b1bbf2eddc2ec1fdc88685 Reviewed-on: https://code.wireshark.org/review/6211 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-smtp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-smtp.c b/epan/dissectors/packet-smtp.c
index 98b3e2402c..b24205d205 100644
--- a/epan/dissectors/packet-smtp.c
+++ b/epan/dissectors/packet-smtp.c
@@ -575,14 +575,14 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if ((session_state->auth_state != SMTP_AUTH_STATE_NONE) &&
(pinfo->fd->num >= session_state->first_auth_frame) &&
((session_state->last_auth_frame == 0) || (pinfo->fd->num <= session_state->last_auth_frame))) {
- decrypt = tvb_get_string_enc(wmem_packet_scope(), tvb, loffset, linelen, ENC_ASCII);
- if ((stmp_decryption_enabled) && (ws_base64_decode_inplace(decrypt) > 0)) {
- line = decrypt;
- } else {
- line = tvb_get_ptr(tvb, loffset, linelen);
- }
- } else {
+ decrypt = tvb_get_string_enc(wmem_packet_scope(), tvb, loffset, linelen, ENC_ASCII);
+ if ((stmp_decryption_enabled) && (ws_base64_decode_inplace(decrypt) > 0)) {
+ line = decrypt;
+ } else {
line = tvb_get_ptr(tvb, loffset, linelen);
+ }
+ } else {
+ line = tvb_get_ptr(tvb, loffset, linelen);
}
linep = line;