Fix call to clistr_pull_talloc.
authorJeremy Allison <jra@samba.org>
Fri, 7 Dec 2007 20:08:55 +0000 (12:08 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 7 Dec 2007 20:08:55 +0000 (12:08 -0800)
Jeremy.
(This used to be commit 86700b7e2e79e634b41c272632e42b2e64f58ba3)

source3/libsmb/clidfs.c

index 5f95487d3f162c416971a108ed73356f7a2ad4d3..f124821e62a1743a8288d6685dc459beb00e4a76 100644 (file)
@@ -665,7 +665,7 @@ bool cli_dfs_get_referral(TALLOC_CTX *ctx,
                                goto out;
                        }
                        clistr_pull_talloc(ctx, cli, &referrals[i].dfspath,
-                               p+node_offset,
+                               p+node_offset, -1,
                                STR_TERMINATE|STR_UNICODE );
 
                        if (!referrals[i].dfspath) {