exit strfcpy, only use m_strcpy.
[apps/madmutt.git] / pop / pop_auth.c
index 2c4deb2..fdea7c3 100644 (file)
@@ -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);