aboutsummaryrefslogtreecommitdiffstats
path: root/main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch
blob: d62ba0e276bc9c97144d3ecc85ac373abbaa795c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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