diff options
Diffstat (limited to 'main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch')
-rw-r--r-- | main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch b/main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch new file mode 100644 index 0000000000..d62ba0e276 --- /dev/null +++ b/main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch @@ -0,0 +1,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 + |