Commit f509257f authored by Heinrich Müller's avatar Heinrich Müller
parent 038526bf
...@@ -1224,9 +1224,8 @@ PostUI :: maybe_post_message (GMimeMessage * message) ...@@ -1224,9 +1224,8 @@ PostUI :: maybe_post_message (GMimeMessage * message)
{ {
if (custom_mid) if (custom_mid)
{ {
std::string out (generate_message_id(p)); n.mid = generate_message_id(p);
n.mid = out; if (first_mid.empty()) first_mid = n.mid;
if (first_mid.empty()) first_mid = out;
} }
g_snprintf(buf,sizeof(buf),"%s.%d", basename, *pit); g_snprintf(buf,sizeof(buf),"%s.%d", basename, *pit);
......
...@@ -216,7 +216,6 @@ NNTP :: on_socket_response (Socket * sock UNUSED, const StringView& line_in) ...@@ -216,7 +216,6 @@ NNTP :: on_socket_response (Socket * sock UNUSED, const StringView& line_in)
case GROUP_NONEXISTENT: case GROUP_NONEXISTENT:
state = CMD_FAIL; state = CMD_FAIL;
break; break;
case XOVER_FOLLOWS: case XOVER_FOLLOWS:
case ARTICLE_FOLLOWS: case ARTICLE_FOLLOWS:
case NEWGROUPS_FOLLOWS: case NEWGROUPS_FOLLOWS:
......
...@@ -71,7 +71,7 @@ TaskPost :: on_nntp_done (NNTP * nntp, ...@@ -71,7 +71,7 @@ TaskPost :: on_nntp_done (NNTP * nntp,
const char* res(g_mime_message_get_subject(_message)); const char* res(g_mime_message_get_subject(_message));
if (health == ERR_NETWORK) if (health == ERR_NETWORK || health == ERR_COMMAND)
{ {
Log :: add_err_va (_("Posting of \"%s\" failed: %s"), Log :: add_err_va (_("Posting of \"%s\" failed: %s"),
res, response.str); res, response.str);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment