r18188: merge 3.0-libndr branch
[samba.git] / source3 / rpc_client / cli_reg.c
index 87ab5dc9dad143402ad871a2281ab8fa67f72b94..e136df753ad5aaaf0e0b00398c586b078ed4a9ef 100644 (file)
@@ -521,7 +521,7 @@ WERROR rpccli_reg_enum_key(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
        else
                fstrcpy( class_name, "" );
 
-       *mod_time   = nt_time_to_unix(out.time);
+       *mod_time   = nt_time_to_unix(*out.time);
 
        return out.status;
 }