diff options
Diffstat (limited to 'source/torture/t_push_ucs2.c')
-rw-r--r-- | source/torture/t_push_ucs2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/torture/t_push_ucs2.c b/source/torture/t_push_ucs2.c index b9bf87ba54..8d327acfa5 100644 --- a/source/torture/t_push_ucs2.c +++ b/source/torture/t_push_ucs2.c @@ -12,10 +12,9 @@ static int check_push_ucs2(const char *orig) smb_ucs2_t *dest = NULL; char *orig2 = NULL; int ret; - size_t converted_size; - push_ucs2_allocate(&dest, orig, &converted_size); - pull_ucs2_allocate(&orig2, dest, &converted_size); + push_ucs2_allocate(&dest, orig); + pull_ucs2_allocate(&orig2, dest); ret = strcmp(orig, orig2); if (ret) { fprintf(stderr, "orig: %s\n", orig); |