summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-04-05 11:37:48 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-04-07 17:46:15 +0200
commita2633fd69609f16e2972013713bf8eeb6802b990 (patch)
treedc8a28bfee187c43fdd157ec7a2f4528aad46b72 /src
parentd2ea839a907ba6ee1fe44027d67b11b02593fc99 (diff)
downloadsssd-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.c9
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;