Changeset 1382 for trunk/src/core/RpLibrary.cc
- Timestamp:
- Apr 5, 2009, 12:12:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/RpLibrary.cc
r1366 r1382 1539 1539 inData = Rappture::Buffer(retCStr); 1540 1540 1541 if (Rappture::encoding:: isencoded(inData.bytes(),inData.size()) != 0) {1541 if (Rappture::encoding::headerFlags(inData.bytes(),inData.size()) != 0) { 1542 1542 // data is encoded, 1543 1543 // coming from an rplib, this means it was at least base64 encoded … … 1757 1757 // FIXME: I've already appended a NUL-byte of this assuming that 1758 1758 // it's a ASCII string. This test must come before. 1759 if (Rappture::encoding::isbinary(value.c_str(), value.length()) != 0) {1759 if (Rappture::encoding::isbinary(value.c_str(), value.length())) { 1760 1760 putData(path, value.c_str(), value.length(), append); 1761 1761 return *this;
Note: See TracChangeset
for help on using the changeset viewer.