diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-04 22:48:13 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-04 22:48:13 +0000 |
commit | b60a441b91dccdeadc125476ac3306b938941057 (patch) | |
tree | 074ccf6cab3ea05bc3ad32f656705ecb955cb368 | |
parent | 6ce50ffcda1d6bd17f027d138a985bf93985c016 (diff) | |
download | samba-b60a441b91dccdeadc125476ac3306b938941057.tar.gz samba-b60a441b91dccdeadc125476ac3306b938941057.tar.xz samba-b60a441b91dccdeadc125476ac3306b938941057.zip |
Added Volker's directory fix - save the attributes
from the first call.
Jeremy.
-rw-r--r-- | source/smbd/reply.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index adcc8c989dc..6c2698c297e 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -689,6 +689,9 @@ int reply_search(connection_struct *conn, char *inbuf,char *outbuf, int dum_size return ERROR_DOS(ERRDOS,ERRnofids); } dptr_set_wcard(dptr_num, strdup(mask)); + dptr_set_attr(dptr_num, dirtype); + } else { + dirtype = dptr_attr(dptr_num); } DEBUG(4,("dptr_num is %d\n",dptr_num)); |