mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
curlsmtpsink: Email with multipart content-type should end with a final boundary
Add final boundary for each of the sending out emails from smtpsink. https://bugzilla.gnome.org/show_bug.cgi?id=736134
This commit is contained in:
parent
52ac7cf27a
commit
47abcb9a6b
1 changed files with 2 additions and 2 deletions
|
@ -918,8 +918,8 @@ gst_curl_smtp_sink_transfer_data_buffer (GstCurlBaseSink * bcsink,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sink->base64_chunk != NULL) {
|
if (sink->base64_chunk != NULL) {
|
||||||
if (sink->nbr_attachments_left == sink->nbr_attachments &&
|
if (sink->nbr_attachments_left == sink->nbr_attachments
|
||||||
bcsink->transfer_buf->len == 0) {
|
&& bcsink->is_live && bcsink->transfer_buf->len == 0) {
|
||||||
add_final_boundary_unlocked (sink);
|
add_final_boundary_unlocked (sink);
|
||||||
}
|
}
|
||||||
bytes_to_send =
|
bytes_to_send =
|
||||||
|
|
Loading…
Reference in a new issue