X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=pgppubring.c;h=81d9c477d50e401fef0225f50e25a9295583be88;hb=d5d13e54717e8b40df8c9283bbc62cf680b49170;hp=b1c59ff9532319d07f076d5c136de4a36247349a;hpb=c3e57678c8be193fc137854020f3a90887be97c9;p=apps%2Fmadmutt.git diff --git a/pgppubring.c b/pgppubring.c index b1c59ff..81d9c47 100644 --- a/pgppubring.c +++ b/pgppubring.c @@ -740,7 +740,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 + 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);