From: Volker Lendecke Date: Sat, 29 Jan 2005 09:38:15 +0000 (+0000) Subject: r5096: Attempt to fix the build X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5330 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f34139b68460f6fb1046e2b97f16dbeff3fb136;p=thirdparty%2Fsamba.git r5096: Attempt to fix the build --- 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;