X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pop%2Fpop_auth.c;h=2e8bd21e2b9c685d68c79f3dcab0ba5db1aef0c5;hb=9aae63e2d1cce39bb0928362416a8d17b953ca5e;hp=2c2cec0a339b4acf48a8cc96fcb672975ec0e134;hpb=9a1efcc01ddeca4106847f8eb28a704aca2dcf0b;p=apps%2Fmadmutt.git diff --git a/pop/pop_auth.c b/pop/pop_auth.c index 2c2cec0..2e8bd21 100644 --- a/pop/pop_auth.c +++ b/pop/pop_auth.c @@ -12,10 +12,10 @@ #endif #include +#include #include #include "mutt.h" -#include "ascii.h" #include "mx.h" #include "md5.h" #include "pop.h" @@ -166,7 +166,7 @@ void pop_apop_timestamp (POP_DATA * pop_data, char *buf) if ((p1 = strchr (buf, '<')) && (p2 = strchr (p1, '>'))) { p2[1] = '\0'; - pop_data->timestamp = str_dup (p1); + pop_data->timestamp = m_strdup(p1); } } @@ -305,7 +305,7 @@ pop_query_status pop_authenticate (POP_DATA * pop_data) if (PopAuthenticators && *PopAuthenticators) { /* Try user-specified list of authentication methods */ - methods = str_dup (PopAuthenticators); + methods = m_strdup(PopAuthenticators); method = methods; while (method) {