X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pop%2Fpop_lib.c;h=b1cab50d9092d35e35ca6ecc4deba669b0d97212;hb=108f3c7ab59844591f7540347914ea57be5245e2;hp=e34165bf763c952e880b4f48f7350fc4bef5203a;hpb=c8bf978fc5c4f6c793620a515fa2456a3fa9eb13;p=apps%2Fmadmutt.git diff --git a/pop/pop_lib.c b/pop/pop_lib.c index e34165b..b1cab50 100644 --- a/pop/pop_lib.c +++ b/pop/pop_lib.c @@ -11,25 +11,24 @@ # include "config.h" #endif +#include +#include +#include + #include #include #include #include +#include +#include #include "mutt.h" #include "mx.h" -#include "url.h" #include "pop.h" #if defined (USE_SSL) || defined (USE_GNUTLS) -# include "mutt_ssl.h" +# include #endif -#include "lib/debug.h" - -#include -#include -#include - /* given an POP mailbox name, return host, port, username and password */ int pop_parse_path (const char *path, ACCOUNT * acct) { @@ -74,7 +73,7 @@ void pop_error (POP_DATA * pop_data, char *msg) } m_strcpy(t, sizeof(pop_data->err_msg) - strlen(pop_data->err_msg), c); - str_skip_trailws (pop_data->err_msg); + m_strrtrim(pop_data->err_msg); } /* Parse CAPA output */