summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/mangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c
index 33fc729a7f..f33b8ac2e6 100644
--- a/source3/smbd/mangle.c
+++ b/source3/smbd/mangle.c
@@ -995,7 +995,7 @@ BOOL name_map_mangle( char *OutName, BOOL need83, int snum )
/* mangle it into 8.3 */
tmp = strdup( OutName );
- mangle_name_83( OutName, strlen(tmp) );
+ mangle_name_83( OutName, strlen(OutName) );
if( tmp )
{
cache_mangled_name( OutName, tmp );