Rocco Rutte:
[apps/madmutt.git] / pop_lib.c
index 6b814fa..c5ec1d0 100644 (file)
--- a/pop_lib.c
+++ b/pop_lib.c
@@ -68,7 +68,7 @@ void pop_error (POP_DATA * pop_data, char *msg)
       c = c2;
   }
 
-  strfcpy (t, c, sizeof (pop_data->err_msg) - strlen (pop_data->err_msg));
+  strfcpy (t, c, sizeof (pop_data->err_msg) - mutt_strlen (pop_data->err_msg));
   mutt_remove_trailing_ws (pop_data->err_msg);
 }
 
@@ -106,12 +106,12 @@ static int fetch_auth (char *line, void *data)
   POP_DATA *pop_data = (POP_DATA *) data;
 
   if (!pop_data->auth_list) {
-    pop_data->auth_list = safe_malloc (strlen (line) + 1);
+    pop_data->auth_list = safe_malloc (mutt_strlen (line) + 1);
     *pop_data->auth_list = '\0';
   }
   else {
     safe_realloc (&pop_data->auth_list,
-                  strlen (pop_data->auth_list) + strlen (line) + 2);
+                  mutt_strlen (pop_data->auth_list) + mutt_strlen (line) + 2);
     strcat (pop_data->auth_list, " ");  /* __STRCAT_CHECKED__ */
   }
   strcat (pop_data->auth_list, line);   /* __STRCAT_CHECKED__ */
@@ -446,7 +446,7 @@ int pop_fetch_data (POP_DATA * pop_data, char *query, char *msg,
     strfcpy (inbuf + lenbuf, p, sizeof (buf));
 
     if (chunk >= sizeof (buf)) {
-      lenbuf += strlen (p);
+      lenbuf += mutt_strlen (p);
     }
     else {
       line++;