X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pop%2Fpop_auth.c;h=adb47d785dbc3ad791b7c0c561dad4808674a5be;hb=334faeb80904ba5b8ced869abfea2731440d52e5;hp=2c4deb217c4024899402d9868a7b61c8daab0e6d;hpb=c98480f8568e6c1bc927c6c5f2b5e80b4aa6548c;p=apps%2Fmadmutt.git diff --git a/pop/pop_auth.c b/pop/pop_auth.c index 2c4deb2..adb47d7 100644 --- a/pop/pop_auth.c +++ b/pop/pop_auth.c @@ -15,12 +15,12 @@ #include #include #include +#include #include "mutt.h" #include "mx.h" #include "pop.h" -#include "lib/debug.h" #include #include @@ -82,7 +82,7 @@ static pop_auth_res_t pop_auth_sasl (POP_DATA * pop_data, const char *method) /* looping protocol */ for (;;) { - strfcpy (buf + olen, "\r\n", sizeof (buf) - olen); + m_strcpy(buf + olen, sizeof(buf) - olen, "\r\n"); mutt_socket_write (pop_data->conn, buf); if (mutt_socket_readln (inbuf, sizeof (inbuf), pop_data->conn) < 0) { sasl_dispose (&saslconn);