summaryrefslogtreecommitdiffstats
path: root/source/smbd/trans2.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-05-20 02:07:57 +0000
committerJeremy Allison <jra@samba.org>1998-05-20 02:07:57 +0000
commit5d8ef7d0f1ecb358c841f382fc48e6eccbe8e171 (patch)
treeedac23bd564096d0c61a66ad125e8146b6fba8d2 /source/smbd/trans2.c
parent7adbd2dfc1eda0e147b7ab4b5ff5e71f173794af (diff)
downloadsamba-5d8ef7d0f1ecb358c841f382fc48e6eccbe8e171.tar.gz
samba-5d8ef7d0f1ecb358c841f382fc48e6eccbe8e171.tar.xz
samba-5d8ef7d0f1ecb358c841f382fc48e6eccbe8e171.zip
Minor tweak for wcard compatibility paranoia.
Jeremy.
Diffstat (limited to 'source/smbd/trans2.c')
-rw-r--r--source/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c
index 372ab58b652..84d9b1cc173 100644
--- a/source/smbd/trans2.c
+++ b/source/smbd/trans2.c
@@ -680,7 +680,7 @@ static int call_trans2findfirst(char *inbuf, char *outbuf, int bufsize, int cnum
while (*p) {
if (*p == '<') {
pstring expnd;
- if(p[1] != '"') {
+ if(p[1] != '"' && p[1] != '.') {
pstrcpy( expnd, p+1 );
*p++ = '*';
*p = '.';