summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-03-12 15:24:05 +0100
committerStephen Gallagher <sgallagh@redhat.com>2013-03-13 08:28:06 -0400
commitf51639d8e48e353402e5f649f2fac7ff3143dfbd (patch)
tree8bcc20cb4fbf1ff76e719951bdb152882d6d0744 /src/tests
parenta39403666f93e34005061eaf36550da96ab5e66f (diff)
downloadsssd-f51639d8e48e353402e5f649f2fac7ff3143dfbd.tar.gz
sssd-f51639d8e48e353402e5f649f2fac7ff3143dfbd.tar.bz2
sssd-f51639d8e48e353402e5f649f2fac7ff3143dfbd.zip
fix segfault in nss responder unit test
https://fedorahosted.org/sssd/ticket/1833 state is expected to be a pointer
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/common_tev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/common_tev.c b/src/tests/common_tev.c
index 83ba9fd7..e9db8d05 100644
--- a/src/tests/common_tev.c
+++ b/src/tests/common_tev.c
@@ -30,7 +30,7 @@ struct tevent_req *
test_request_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, errno_t err)
{
struct tevent_req *req;
- int state;
+ int *state;
req = tevent_req_create(mem_ctx, &state, int);
if (!req) return NULL;