source:
npl/overig/libvmime/vmime-0.9.2-qp-in-buffers.diff
@
0105685
Last change on this file since 0105685 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 515 bytes |
-
svn/src/wordEncoder.cpp
239 239 if (buffer.find_first_of("\n\r") != string::npos) 240 240 return true; 241 241 242 // If the string contains a QP string, we need to encode this. 243 // Not a 100% check, but we'd only get more encoded strings. 244 std::string::size_type pos = buffer.find("=?"); 245 std::string::size_type end = buffer.find("?="); 246 if (pos != string::npos && end != string::npos && end > pos) 247 return true; 248 242 249 return false; 243 250 } 244 251
Note: See TracBrowser
for help on using the repository browser.