X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=nntp%2Fnntp.c;h=2b5494f799cc202908935818a9d2f927b3bbade3;hb=2743a22ef30aff197b866b9e3547ac429920f6d9;hp=09a986ac4ca75c45fdf8ff6142ccc50e802ccb4e;hpb=baf86ef44a449017ea20c3fcb252b66dc43fe6ce;p=apps%2Fmadmutt.git diff --git a/nntp/nntp.c b/nntp/nntp.c index 09a986a..2b5494f 100644 --- a/nntp/nntp.c +++ b/nntp/nntp.c @@ -115,7 +115,7 @@ static int nntp_connect_and_auth (NNTP_SERVER * serv) mutt_message (_("Connected to %s. Posting NOT ok."), conn->account.host); else { mutt_socket_close (conn); - mutt_remove_trailing_ws (buf); + str_skip_trailws (buf); mutt_error ("%s", buf); sleep (2); return -1;