Move offset to end of line without assuming that we always have \r\n at the end of it

svn path=/trunk/; revision=49722
This commit is contained in:
Pascal Quantin 2013-06-03 17:55:20 +00:00
parent 7397620985
commit 4adcd51676
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ dissect_imap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
offset += linelen+2; /* Skip over last line and \r\n at the end of it */
offset = next_offset; /* Skip over last line and \r\n at the end of it */
}
}
}