X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pop_lib.c;h=c5ec1d091870958366a70667fc25a301689146d1;hb=39d11f5b3feb125654d5c2a4e8f93637a12706c3;hp=6b814faf1fa71c3cd5c078c7537d39e137daeed7;hpb=c3e57678c8be193fc137854020f3a90887be97c9;p=apps%2Fmadmutt.git diff --git a/pop_lib.c b/pop_lib.c index 6b814fa..c5ec1d0 100644 --- 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++;