SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
telephony/kamailio/patches/patch-src_modules_rls_utils_c
Normal file
20
telephony/kamailio/patches/patch-src_modules_rls_utils_c
Normal file
|
@ -0,0 +1,20 @@
|
|||
Index: src/modules/rls/utils.c
|
||||
--- src/modules/rls/utils.c.orig
|
||||
+++ src/modules/rls/utils.c
|
||||
@@ -26,14 +26,14 @@
|
||||
#define SIP_PREFIX "sip:"
|
||||
#define SIP_PREFIX_LEN sizeof(SIP_PREFIX)-1
|
||||
|
||||
-str* normalize_sip_uri(const str *uri)
|
||||
+str* normalize_sip_uri(str *uri)
|
||||
{
|
||||
static str normalized_uri;
|
||||
static str null_str = {NULL, 0};
|
||||
static char buf[MAX_URI_SIZE];
|
||||
|
||||
normalized_uri.s = buf;
|
||||
- if (un_escape((str *)uri, &normalized_uri) < 0)
|
||||
+ if (un_escape(uri, &normalized_uri) < 0)
|
||||
{
|
||||
LM_ERR("un-escaping URI\n");
|
||||
return &null_str;
|
Loading…
Add table
Add a link
Reference in a new issue