diff options
author | John Denker <jsd@av8n.com> | 2012-11-23 02:38:43 -0800 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2012-11-23 02:38:43 -0800 |
commit | c70305e88b3d9cf01293e064b281f49a9bb96a46 (patch) | |
tree | 2a8156ed6dff048315ca74ae9f73721a6c4ee991 /tools/libskrewt.c | |
parent | 0dfd3cabf1e7e2bd8d0db7b4588e05af54ce4c05 (diff) |
deal with more capitalization follies;
now passes 'testall' (more than 4000 msgs, all OK)
Diffstat (limited to 'tools/libskrewt.c')
-rw-r--r-- | tools/libskrewt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libskrewt.c b/tools/libskrewt.c index 37a9feb..39b241a 100644 --- a/tools/libskrewt.c +++ b/tools/libskrewt.c @@ -18,7 +18,7 @@ void parse_content(const string type_spec_line, } else { rest = get_type.substr(where+1); - get_type = get_type.substr(0,where); + get_type = toLower(get_type.substr(0,where)); } where = get_type.find("/"); if (where == string::npos){ @@ -31,7 +31,7 @@ void parse_content(const string type_spec_line, // now need to find boundary string srch = "boundary="; - where = rest.find(srch); + where = toLower(rest).find(srch); if (where != string::npos) { where += srch.length(); boundary = rest.substr(where); |