- //case 2:
- //Data = NewStrBufPlain(NULL, msg4_content_length * 2);
- //if (msg4_content_length > 0) {
- //StrBuf_ServGetBLOBBuffered(Data, msg4_content_length);
- //phase ++;
- //}
- //else {
- //StrBufAppendBuf(Data, Buf, 0);
- //StrBufAppendBufPlain(Data, "\r\n", 1, 0);
- //}
- //case 3:
- //StrBufAppendBuf(Data, Buf, 0);
+ case 2:
+ if (vnote_inline) {
+ Data = NewStrBufPlain(NULL, msg4_content_length * 2);
+ if (msg4_content_length > 0) {
+ StrBuf_ServGetBLOBBuffered(Data, msg4_content_length);
+ phase ++;
+ }
+ else {
+ StrBufAppendBuf(Data, Buf, 0);
+ StrBufAppendBufPlain(Data, "\r\n", 1, 0);
+ }
+ }
+ case 3:
+ if (vnote_inline) {
+ StrBufAppendBuf(Data, Buf, 0);
+ }