summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-08-02 23:07:53 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-05 11:14:17 +0200
commit87158890d6e7239167d7c8089070f3d2cdf5e58d (patch)
tree585db325b694694570e13c799ccc87b688255780 /src/tests
parent747f30f1665a4dfcfe61a850b2e333a8bd35259b (diff)
downloadsssd-87158890d6e7239167d7c8089070f3d2cdf5e58d.tar.gz
sssd-87158890d6e7239167d7c8089070f3d2cdf5e58d.tar.bz2
sssd-87158890d6e7239167d7c8089070f3d2cdf5e58d.zip
resolv_sort_srv_reply: remove unnecessary mem_ctx
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/resolv-tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/resolv-tests.c b/src/tests/resolv-tests.c
index a8e4c412..8fde675f 100644
--- a/src/tests/resolv-tests.c
+++ b/src/tests/resolv-tests.c
@@ -722,7 +722,7 @@ START_TEST(test_resolv_sort_srv_reply)
}
/* do the sort */
- ret = resolv_sort_srv_reply(test_ctx, &replies);
+ ret = resolv_sort_srv_reply(&replies);
fail_if(ret != EOK);
/* check if the list is sorted */
@@ -757,7 +757,7 @@ START_TEST(test_resolv_sort_srv_reply)
}
/* do the sort */
- ret = resolv_sort_srv_reply(test_ctx, &replies);
+ ret = resolv_sort_srv_reply(&replies);
fail_if(ret != EOK);
/* clean up */