dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0001-test-common-sss_dp_get_account_recv-fix-assignment.patch

6cf099
From 1b20d057dd7d4284d4c88319a12eee5845b14d8f Mon Sep 17 00:00:00 2001
6cf099
From: Sumit Bose <sbose@redhat.com>
6cf099
Date: Fri, 10 Jul 2015 12:37:43 +0200
6cf099
Subject: [PATCH 01/13] test common: sss_dp_get_account_recv() fix assignment
6cf099
6cf099
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
6cf099
---
6cf099
 src/tests/cmocka/common_mock_resp_dp.c | 2 +-
6cf099
 1 file changed, 1 insertion(+), 1 deletion(-)
6cf099
6cf099
diff --git a/src/tests/cmocka/common_mock_resp_dp.c b/src/tests/cmocka/common_mock_resp_dp.c
6cf099
index 08d74179d8e2dc0561ea3e2d1e9b5580762ee633..a67ceee4a43184d9894c19a5c11161aca4e1caff 100644
6cf099
--- a/src/tests/cmocka/common_mock_resp_dp.c
6cf099
+++ b/src/tests/cmocka/common_mock_resp_dp.c
6cf099
@@ -51,7 +51,7 @@ sss_dp_get_account_recv(TALLOC_CTX *mem_ctx,
6cf099
 
6cf099
     *dp_err = sss_mock_type(dbus_uint16_t);
6cf099
     *dp_ret = sss_mock_type(dbus_uint32_t);
6cf099
-    *dp_ret = sss_mock_type(dbus_uint32_t);
6cf099
+    *err_msg = sss_mock_ptr_type(char *);
6cf099
 
6cf099
     cb = sss_mock_ptr_type(acct_cb_t);
6cf099
     if (cb) {
6cf099
-- 
6cf099
2.4.3
6cf099