summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2002-04-08 09:29:28 +0000
committerSimo Sorce <idra@samba.org>2002-04-08 09:29:28 +0000
commit9c1665b2995055379c0c40a9fda485a2f164796c (patch)
tree76b946f3cdfe3ae16e53fac4f916b2c888f09368 /source3/smbd
parentc21ff8f76209a1e7138ba06ce262a3e2c2880646 (diff)
downloadsamba-9c1665b2995055379c0c40a9fda485a2f164796c.tar.gz
samba-9c1665b2995055379c0c40a9fda485a2f164796c.tar.bz2
samba-9c1665b2995055379c0c40a9fda485a2f164796c.zip
a fix yet committed to 2.2 sometimes ago and reintroduced here!
(This used to be commit aff7073dabb6253fea4729f52240a25f90206699)
Diffstat (limited to 'source3/smbd')
-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 9789f06e0c..e50537e4cb 100644
--- a/source3/smbd/mangle.c
+++ b/source3/smbd/mangle.c
@@ -533,7 +533,7 @@ static void cache_mangled_name( char *mangled_name, char *raw_name )
if( s1 && (s2 = strrchr( raw_name, '.' )) )
{
i = 1;
- while( s1[i] && (tolower( s1[1] ) == s2[i]) )
+ while( s1[i] && (tolower( s1[i] ) == s2[i]) )
i++;
if( !s1[i] && !s2[i] )
{