X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=browser.c;h=08323d3088b40a3252341a1a471a02c02378de02;hp=ab296af7287622d7af0631b9734d2364205614e2;hb=d10e9217f2111d9d4354cf867ecdc783a6585e76;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/browser.c b/browser.c index ab296af..08323d3 100644 --- a/browser.c +++ b/browser.c @@ -479,7 +479,7 @@ static int examine_directory (MUTTMENU * menu, struct browser_state *state, if (!(data = (NNTP_DATA *) tmp->data)) continue; if (prefix && *prefix && strncmp (prefix, data->group, - strlen (prefix)) != 0) + mutt_strlen (prefix)) != 0) continue; if (!((regexec (Mask.rx, data->group, 0, NULL, 0) == 0) ^ Mask.not)) continue; @@ -914,7 +914,7 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files, strfcpy (LastDir, state.entry[menu->current].name, sizeof (LastDir)); /* tack on delimiter here */ - n = strlen (LastDir) + 1; + n = mutt_strlen (LastDir) + 1; /* special case "" needs no delimiter */ url_parse_ciss (&url, state.entry[menu->current].name);