summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/statcache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index b1cb0f6e0f..1e06b2b103 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -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