diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rap/rap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c index 787d146076..3ae60f347b 100644 --- a/source4/torture/rap/rap.c +++ b/source4/torture/rap/rap.c @@ -151,7 +151,7 @@ static NTSTATUS rap_pull_string(TALLOC_CTX *mem_ctx, struct ndr_pull *ndr, return NT_STATUS_INVALID_PARAMETER; *dest = talloc_zero_size(mem_ctx, len+1); - pull_ascii(*dest, p, len+1, len, 0); + pull_string(*dest, p, len+1, len, STR_ASCII); return NT_STATUS_OK; } |