summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-04-30 14:59:00 +0000
committerAndrew Tridgell <tridge@samba.org>2000-04-30 14:59:00 +0000
commit29ba16f7925bddb96e2a51cc87e6e509608f8ce7 (patch)
tree38bfbab6e22ddc07d61dc304ebc29c98f64753d8
parent2fb2ae187d34adb7621608c82ea793e2d0bb41eb (diff)
downloadsamba-29ba16f7925bddb96e2a51cc87e6e509608f8ce7.tar.gz
samba-29ba16f7925bddb96e2a51cc87e6e509608f8ce7.tar.bz2
samba-29ba16f7925bddb96e2a51cc87e6e509608f8ce7.zip
fixed dptr_wcard handling (need to use strdup)
(This used to be commit 0bab0300748a22b4b861fa443be2014bcd7b348c)
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index b152ca59ee..ead59ebfc2 100644
--- a/source3/smbd/reply.c
+++ b/source3/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));