diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-04-05 11:37:48 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-04-07 17:46:15 +0200 |
commit | a2633fd69609f16e2972013713bf8eeb6802b990 (patch) | |
tree | dc8a28bfee187c43fdd157ec7a2f4528aad46b72 /src | |
parent | d2ea839a907ba6ee1fe44027d67b11b02593fc99 (diff) | |
download | sssd-a2633fd69609f16e2972013713bf8eeb6802b990.tar.gz sssd-a2633fd69609f16e2972013713bf8eeb6802b990.tar.xz sssd-a2633fd69609f16e2972013713bf8eeb6802b990.zip |
Remove unused argument from resolv_gethostbyname_dns_parse
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/resolv/async_resolv.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/resolv/async_resolv.c b/src/resolv/async_resolv.c index 505154c9d..f0361ce8c 100644 --- a/src/resolv/async_resolv.c +++ b/src/resolv/async_resolv.c @@ -788,8 +788,8 @@ static void resolv_gethostbyname_dns_query_done(void *arg, int status, int timeouts, unsigned char *abuf, int alen); static int -resolv_gethostbyname_dns_parse(struct gethostbyname_dns_state *state, int status, - int timeouts, unsigned char *abuf, int alen); +resolv_gethostbyname_dns_parse(struct gethostbyname_dns_state *state, + int status, unsigned char *abuf, int alen); static struct tevent_req * resolv_gethostbyname_dns_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, @@ -930,7 +930,7 @@ resolv_gethostbyname_dns_query_done(void *arg, int status, int timeouts, return; } - ret = resolv_gethostbyname_dns_parse(state, status, timeouts, abuf, alen); + ret = resolv_gethostbyname_dns_parse(state, status, abuf, alen); if (ret != EOK) { tevent_req_error(req, ret); return; @@ -941,8 +941,7 @@ resolv_gethostbyname_dns_query_done(void *arg, int status, int timeouts, static int resolv_gethostbyname_dns_parse(struct gethostbyname_dns_state *state, - int status, int timeouts, - unsigned char *abuf, int alen) + int status, unsigned char *abuf, int alen) { struct hostent *hostent; int naddrttls; |