summaryrefslogtreecommitdiff
path: root/net/partysip/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'net/partysip/patches/patch-aj')
-rw-r--r--net/partysip/patches/patch-aj27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/partysip/patches/patch-aj b/net/partysip/patches/patch-aj
new file mode 100644
index 00000000000..790b99bd08e
--- /dev/null
+++ b/net/partysip/patches/patch-aj
@@ -0,0 +1,27 @@
+$NetBSD: patch-aj,v 1.1 2007/10/06 00:00:02 joerg Exp $
+
+--- plugin/syntax/syntax.c.orig 2007-10-05 23:04:37.000000000 +0000
++++ plugin/syntax/syntax.c
+@@ -211,11 +211,11 @@ cb_check_syntax_in_request (psp_request_
+
+ }
+
+- if (!osip_list_eol(request->vias, 1)) /* only one via? */
++ if (!osip_list_eol(&request->vias, 1)) /* only one via? */
+ {
+ i=0;
+ spiral=0;
+- for (;!osip_list_eol(request->vias, i);i++)
++ for (;!osip_list_eol(&request->vias, i);i++)
+ {
+ osip_via_t *via;
+ osip_message_get_via (request, i, &via);
+@@ -313,7 +313,7 @@ cb_complete_answer_on_4xx (psp_request_t
+ break;
+ osip_free (unsupported->hname);
+ unsupported->hname = osip_strdup ("Unsupported");
+- osip_list_add (response->headers, unsupported, -1);
++ osip_list_add (&response->headers, unsupported, -1);
+ pos++;
+ pos = osip_message_get_proxy_require (request, pos, &p_require);
+ }