Skip to content

Commit

Permalink
minor modification to previous commit to use IsWhitespace() instead o…
Browse files Browse the repository at this point in the history
…f IsBlank()
  • Loading branch information
jstedfast committed Sep 15, 2019
1 parent 7da9b81 commit bf893e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MimeKit/Utils/ParseUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public static bool TryParseMsgId (byte[] text, ref int index, int endIndex, bool
if (!SkipQuoted (text, ref index, endIndex, throwOnError))
return false;
} else {
while (index < endIndex && text[index] != (byte) '.' && text[index] != (byte) '@' && text[index] != '>' && !text[index].IsBlank ())
while (index < endIndex && text[index] != (byte) '.' && text[index] != (byte) '@' && text[index] != '>' && !text[index].IsWhitespace ())
index++;
}

Expand Down

0 comments on commit bf893e9

Please sign in to comment.