When multiple email addresses were in the 'to' field, sometimes
they would be logged as "\r\n \"Name\" <email>".
The \r\n was added by GetFullValue in the mime decoder, for unknown
reasons. Disabling this seems to have no drawbacks.
while (curr != NULL) {
*len += curr->value_len;
+#if 0
/* Add CRLF except on last one */
if (curr->next != NULL) {
*len += 2;
}
+#endif
curr = curr->next;
}
memcpy(val + offset, curr->value, curr->value_len);
offset += curr->value_len;
+#if 0 /* VJ unclear why this is needed ? */
/* Add CRLF except on last one */
if (curr->next != NULL) {
memcpy(val + offset, CRLF, 2);
offset += 2;
}
+#endif
curr = curr->next;
}
}