From d4103a09918bf375804bb102ac29237345f59978 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 4 Dec 2002 22:48:13 +0000 Subject: Added Volker's directory fix - save the attributes from the first call. Jeremy. (This used to be commit b60a441b91dccdeadc125476ac3306b938941057) --- source3/smbd/reply.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index adcc8c989d..6c2698c297 100644 --- a/source3/smbd/reply.c +++ b/source3/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)); -- cgit