Do not send mail on error
This commit is contained in:
parent
d805e681d4
commit
746adb7af5
@ -218,9 +218,9 @@ void compose_send(Compose * compose)
|
|||||||
msg = p;
|
msg = p;
|
||||||
snprintf(&msg[msg_len], body_len + 8, "\r\n%s\r\n.\r\n", body);
|
snprintf(&msg[msg_len], body_len + 8, "\r\n%s\r\n.\r\n", body);
|
||||||
msg_len+=body_len+7;
|
msg_len+=body_len+7;
|
||||||
|
_send_mail(compose, msg, msg_len);
|
||||||
}
|
}
|
||||||
g_free(body);
|
g_free(body);
|
||||||
_send_mail(compose, msg, msg_len);
|
|
||||||
free(msg);
|
free(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user