From 5f34139b68460f6fb1046e2b97f16dbeff3fb136 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 29 Jan 2005 09:38:15 +0000 Subject: [PATCH] r5096: Attempt to fix the build --- source/smbd/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/smbd/dir.c b/source/smbd/dir.c index ff240b7e5a3..4d41f88f351 100644 --- a/source/smbd/dir.c +++ b/source/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; -- 2.47.3