mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
Brain fart - make sure we truncate the right string...
Andrew Bartlett (This used to be commit 32eb2cdca62a784d96207507e273bbbf77b0c6c3)
This commit is contained in:
parent
63c1aa25cf
commit
99e5d02f74
@ -121,11 +121,11 @@ void stat_cache_add( const char *full_orig_name, const char *orig_translated_pat
|
||||
return;
|
||||
}
|
||||
|
||||
/* we only want to store the first part of translated_path,
|
||||
up to the length of original_path */
|
||||
/* we only want to store the first part of original_path,
|
||||
up to the length of translated_path */
|
||||
|
||||
translated_path[original_path_length] = '\0';
|
||||
translated_path_length = original_path_length;
|
||||
original_path[translated_path_length] = '\0';
|
||||
original_path_length = translated_path_length;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user