summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 96b7692b1a..de15faec81 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -654,7 +654,7 @@ int reply_search(connection_struct *conn, char *inbuf,char *outbuf, int dum_size
*p = 0;
if (strlen(directory) == 0)
- pstrcpy(directory,"./");
+ pstrcpy(directory,".");
memset((char *)status,'\0',21);
SCVAL(status,0,(dirtype & 0x1F));
} else {