From eeeee47c6cb0e13619b76bc4109479e52b5dc441 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Tue, 15 Nov 2011 00:33:49 +0400
Subject: [PATCH 1/1] Fix for wrong arity of callback function for c-ares

See rhbz #753372 for further details

https://bugzilla.redhat.com/753372

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
 helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/helper.c b/helper.c
index c5dee06..976b73b 100644
--- a/helper.c
+++ b/helper.c
@@ -262,7 +262,7 @@ static const unsigned char *skip_query(const unsigned char *aptr, const unsigned
 	return aptr;
 }
 
-static void cares_callback(void *arg, int status, unsigned char *abuf, int alen) {
+static void cares_callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) {
 	int i;
 	unsigned int ancount, nscount, arcount;
 	const unsigned char *aptr;
-- 
1.7.7

