Continued work.

This commit is contained in:
barant committed 2020-03-03 15:46:24 -08:00
1 parent 4286a7b449
commit 947eef21e2
12 files changed
+323 -95

No files matched your search

+4 -2
View File
@@ -9,8 +9,10 @@ namespace coreutils {
IMFHeader::IMFHeader(PString &in) {
key = in.getTokenInclude("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-");
if(!in.ifNext(":"))
throw coreutils::Exception("Invalid character in expected header token.");
if(!in.ifNext(":")) {
printf("%02X\n", in.str()[0]);
throw coreutils::Exception("Invalid character in expected header token.");
}
in.skipWhitespace();
value = in.getTokenExclude("\r\n");
if(!in.ifNext("\r\n"))