r21666: (only in 3.0, not 3.0.25). Fix bad parameter to call.
authorJeremy Allison <jra@samba.org>
Fri, 2 Mar 2007 23:04:44 +0000 (23:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:23 +0000 (12:18 -0500)
Jeremy.
(This used to be commit 9b16c57960af38f1932cd45505e617f034c0b93b)

source3/libmsrpc/cac_winreg.c

index 0bc1f15c3394faf030074c517f5034f5bf868536..74156be63fd931bb29128c3e62fd20a78371cf2d 100644 (file)
@@ -847,7 +847,7 @@ int cac_RegEnumValues( CacServerHandle * hnd, TALLOC_CTX * mem_ctx,
                hnd->status = rpccli_winreg_EnumValue( pipe_hnd, mem_ctx, 
                                                       op->in.key,
                                                       resume_idx, &name_buf,
-                                                      &types_out[num_values_out], &buffer,
+                                                      &types_out[num_values_out], buffer,
                                                       &data_size,
                                                       &data_length );