diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-30 14:59:00 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-30 14:59:00 +0000 |
commit | 0bab0300748a22b4b861fa443be2014bcd7b348c (patch) | |
tree | bde0331cde26084db0537fb852e297f2a29af83c /source/smbd/reply.c | |
parent | 9e4b3529455840f11940136dd55c641d89b46961 (diff) | |
download | samba-0bab0300748a22b4b861fa443be2014bcd7b348c.tar.gz samba-0bab0300748a22b4b861fa443be2014bcd7b348c.tar.xz samba-0bab0300748a22b4b861fa443be2014bcd7b348c.zip |
fixed dptr_wcard handling (need to use strdup)
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index b152ca59ee4..ead59ebfc2e 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -1333,7 +1333,7 @@ int reply_search(connection_struct *conn, char *inbuf,char *outbuf, int dum_size } return(ERROR(ERRDOS,ERRnofids)); } - dptr_set_wcard(dptr_num, mask); + dptr_set_wcard(dptr_num, strdup(mask)); } DEBUG(4,("dptr_num is %d\n",dptr_num)); |