]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r5096: Attempt to fix the build
authorVolker Lendecke <vlendec@samba.org>
Sat, 29 Jan 2005 09:38:15 +0000 (09:38 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:55:14 +0000 (10:55 -0500)
source/smbd/dir.c

index ff240b7e5a31f0a1721284f0b0e6830e3f62be0a..4d41f88f3511a7e1bf6ff08d2f959805a78323d7 100644 (file)
@@ -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;