s3: torture. Remove spurious lp_posix_pathnames() included by cut-and-paste error.
authorJeremy Allison <jra@samba.org>
Sun, 20 Mar 2016 04:07:01 +0000 (21:07 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 25 Mar 2016 01:23:55 +0000 (02:23 +0100)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 25 02:23:56 CET 2016 on sn-devel-144

source3/torture/torture.c

index 349527fd43b826d21b52d44978c14882e2039014..8b8dbe9debb94127f610314ac10183b0a22f35e3 100644 (file)
@@ -9158,7 +9158,7 @@ static NTSTATUS split_ntfs_stream_name(TALLOC_CTX *mem_ctx, const char *fname,
 
        sname = strchr_m(fname, ':');
 
-       if (lp_posix_pathnames() || (sname == NULL)) {
+       if (sname == NULL) {
                if (pbase != NULL) {
                        base = talloc_strdup(mem_ctx, fname);
                        NT_STATUS_HAVE_NO_MEMORY(base);