sync.
This commit is contained in:
1 parent
591705f897
commit
4f95b4591b
4 files changed
+16
-10
No files matched your search
+2
-1
@@ -8,10 +8,11 @@ namespace coreutils {
|
||||
}
|
||||
|
||||
IMFHeader::IMFHeader(PString &in) {
|
||||
printf("in='%s'\n", in.str().c_str());
|
||||
key = in.getTokenInclude("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-");
|
||||
if(key.length() != 0) {
|
||||
if(!in.ifNext(":")) {
|
||||
printf("%02X\n", in.str()[0]);
|
||||
printf("key=%s %02X\n", key.c_str(), in.str()[0]);
|
||||
throw coreutils::Exception("Invalid character in expected header token.");
|
||||
}
|
||||
in.skipWhitespace();
|
||||
|
||||
Reference in new issue
Block a user