From fd4d5ab75da1e7703919b66ad174e98d94574701 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 20 May 1998 02:07:57 +0000 Subject: Minor tweak for wcard compatibility paranoia. Jeremy. (This used to be commit 5d8ef7d0f1ecb358c841f382fc48e6eccbe8e171) --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 372ab58b65..84d9b1cc17 100644 --- a/source3/smbd/trans2.c +++ b/source3/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 = '.'; -- cgit