From 0dc388a8370c5d7852f09327fa76fe16fd0a496c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 29 Jan 2005 09:38:15 +0000 Subject: r5096: Attempt to fix the build (This used to be commit 5f34139b68460f6fb1046e2b97f16dbeff3fb136) --- source3/smbd/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit