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
|
$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);
}
|