summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index 044cecb9fb..030c69bd4a 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -250,7 +250,7 @@ static int expect(int master, char *issue, char *expected)
nread += len;
buffer[nread] = 0;
- if ((match = (ms_fnmatch(expected, buffer) == 0)))
+ if ((match = (wild_match(expected, buffer) == 0)))
timeout = 200;
}