mirror of
https://github.com/samba-team/samba.git
synced 2025-11-16 20:23:50 +03:00
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
large commit. I thought this was worthwhile to get done for consistency.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1d1a9c11ee
commit
ec32b22ed5
@@ -198,7 +198,7 @@ int ms_fnmatch(const char *pattern, const char *string, enum protocol_types prot
|
||||
if (pattern[i] == '*' || pattern[i] == '<') count++;
|
||||
}
|
||||
|
||||
max_n = talloc_array_p(NULL, struct max_n, count);
|
||||
max_n = talloc_array(NULL, struct max_n, count);
|
||||
if (!max_n) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user