s3: Did I say this module is from hell?
authorVolker Lendecke <vl@samba.org>
Tue, 7 Dec 2010 13:40:13 +0000 (14:40 +0100)
committerVolker Lendecke <vlendec@samba.org>
Sun, 19 Dec 2010 22:25:06 +0000 (23:25 +0100)
source3/modules/vfs_shadow_copy2.c

index f47b287ea587d97bce13d98f8e3277c640c94ae4..0393f309692b139f74c2460d2bdc27f8352bf50a 100644 (file)
@@ -674,7 +674,7 @@ static char *shadow_copy2_realpath(vfs_handle_struct *handle,
                SHADOW2_NEXT(REALPATH, (handle, fname), char *,
                             NULL);
        }
-        SHADOW2_NEXT(REALPATH, (handle, fname), char *, NULL);
+        SHADOW2_NEXT(REALPATH, (handle, name), char *, NULL);
 }
 
 static const char *shadow_copy2_connectpath(struct vfs_handle_struct *handle,