summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-01-29 09:38:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:14 -0500
commit0dc388a8370c5d7852f09327fa76fe16fd0a496c (patch)
tree99978dd439139579b190873cc818058eb8171230 /source3
parent7171515a01ac37a8c9cbed6bf70c3927cf38cdba (diff)
downloadsamba-0dc388a8370c5d7852f09327fa76fe16fd0a496c.tar.gz
samba-0dc388a8370c5d7852f09327fa76fe16fd0a496c.tar.bz2
samba-0dc388a8370c5d7852f09327fa76fe16fd0a496c.zip
r5096: Attempt to fix the build
(This used to be commit 5f34139b68460f6fb1046e2b97f16dbeff3fb136)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index ff240b7e5a..4d41f88f35 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -957,8 +957,8 @@ const char *ReadDirName(void *p, long *poffset)
if (dirp->hide_unreadable || dirp->hide_unwriteable || dirp->hide_special) {
SMB_STRUCT_STAT st;
- ZERO_STRUCT(st);
char *entry = NULL;
+ ZERO_STRUCT(st);
if (asprintf(&entry, "%s/%s/%s", conn->origpath, dirp->dir_path, n) == -1) {
return NULL;