Continued work.
This commit is contained in:
1 parent
4286a7b449
commit
947eef21e2
12 files changed
+323
-95
No files matched your search
+4
-2
@@ -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"))
|
||||
|
||||
Reference in new issue
Block a user