X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pgppubring.c;h=62075024b80fd98926c83c7e0bafc55cef42b55f;hp=e5f729e8e68409a35f4b4cbd63209ae9af1ea1a7;hb=7048f7d738dac900f2e76622f3d92b62f99b69a7;hpb=0f44dc85fc1280372ffab911d701e703d803fb4b diff --git a/pgppubring.c b/pgppubring.c index e5f729e..6207502 100644 --- a/pgppubring.c +++ b/pgppubring.c @@ -743,7 +743,7 @@ static void pgpring_find_candidates (char *ringfile, const char *hints[], char *error_buf; size_t error_buf_len; - error_buf_len = sizeof ("fopen: ") - 1 + safe_strlen (ringfile) + 1; + error_buf_len = sizeof ("fopen: ") - 1 + mutt_strlen (ringfile) + 1; error_buf = safe_malloc (error_buf_len); snprintf (error_buf, error_buf_len, "fopen: %s", ringfile); perror (error_buf);