Changeset 2a665297c7a8b588c97e99f1843a3b75aad25531 for msg
- Timestamp:
- 02/03/11 22:09:38 (16 months ago)
- Parents:
- b4f0cdb42e637fd017a965937ff7dd3170eb55ac
- git-committer:
- Antti-Juhani Kaijanaho <ajk@…> (02/03/11 22:09:38)
- Files:
-
- 1 modified
-
msg/entity.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
msg/entity.cc
r11cf105 r2a66529 91 91 multipart::ptr entity::clone_as_multipart() const 92 92 { 93 static const char *const content_= "content-";93 static const char content_[] = "content-"; 94 94 boost::random_device urand; 95 95 … … 110 110 util::strip_crlf(content); 111 111 boost::to_lower(name); 112 if (name.substr(0, sizeof content_ ) != content_)112 if (name.substr(0, sizeof content_ - 1) != content_) 113 113 continue; 114 114 subh->replace_field(name, content);
