mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Use right function prototype for thread function
warning: passing argument from incompatible pointer type
This commit is contained in:
parent
2f80855e15
commit
c098435040
@ -98,7 +98,8 @@ struct ipa_cldap_req {
|
|||||||
struct kvp_list kvps;
|
struct kvp_list kvps;
|
||||||
};
|
};
|
||||||
|
|
||||||
void *ipa_cldap_worker(struct ipa_cldap_ctx *ctx);
|
/*void *ipa_cldap_worker(struct ipa_cldap_ctx *ctx);*/
|
||||||
|
void *ipa_cldap_worker(void *arg);
|
||||||
|
|
||||||
int ipa_cldap_netlogon(struct ipa_cldap_ctx *ctx,
|
int ipa_cldap_netlogon(struct ipa_cldap_ctx *ctx,
|
||||||
struct ipa_cldap_req *req,
|
struct ipa_cldap_req *req,
|
||||||
|
@ -314,11 +314,12 @@ static struct ipa_cldap_req *ipa_cldap_recv_dgram(struct ipa_cldap_ctx *ctx)
|
|||||||
return req;
|
return req;
|
||||||
}
|
}
|
||||||
|
|
||||||
void *ipa_cldap_worker(struct ipa_cldap_ctx *ctx)
|
void *ipa_cldap_worker(void *arg)
|
||||||
{
|
{
|
||||||
struct ipa_cldap_req *req;
|
struct ipa_cldap_req *req;
|
||||||
struct pollfd fds[2];
|
struct pollfd fds[2];
|
||||||
bool stop = false;
|
bool stop = false;
|
||||||
|
struct ipa_cldap_ctx *ctx = (struct ipa_cldap_ctx *) arg;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
while (!stop) {
|
while (!stop) {
|
||||||
|
Loading…
Reference in New Issue
Block a user