Meins
public text v1 · immutableBOOL mangle_check_cache_alloc(const char *name, char **presult,
const struct share_params *p)
{
pstring tmp;
char *result;
pstrcpy(tmp, name);
if (!mangle_check_cache(tmp, sizeof(pstring), p)
|| !(result = SMB_STRDUP(tmp))) {
return False;
}
*presult = result;
return True;
}