summaryrefslogtreecommitdiffstats
path: root/route.c
diff options
context:
space:
mode:
authorAndreas Eversberg2008-09-06 13:59:48 +0200
committerAndreas Eversberg2008-09-06 13:59:48 +0200
commitb95114936f9fc12816035db92beb3def4b5b0506 (patch)
tree57670d8c41dc82f60a8257a54f6c24c14eaf73ce /route.c
parentFix missing argument (diff)
downloadlcr-b95114936f9fc12816035db92beb3def4b5b0506.tar.gz
lcr-b95114936f9fc12816035db92beb3def4b5b0506.tar.xz
lcr-b95114936f9fc12816035db92beb3def4b5b0506.zip
changed port attribute to "portnum".
modified: bchannel.c modified: default/interface.conf modified: interface.c modified: mISDN.cpp modified: route.c
Diffstat (limited to 'route.c')
-rw-r--r--route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/route.c b/route.c
index 13ead05..7022ae2 100644
--- a/route.c
+++ b/route.c
@@ -1954,7 +1954,7 @@ struct route_action *EndpointAppPBX::route(struct route_ruleset *ruleset)
struct route_rule *rule = ruleset->rule_first;
struct route_cond *cond;
struct route_action *action = NULL;
- unsigned int comp_len;
+ unsigned long comp_len;
int j, jj;
char callerid[64], redirid[64];
int integer;
@@ -2270,7 +2270,7 @@ struct route_action *EndpointAppPBX::route(struct route_ruleset *ruleset)
match_string_prefix:
comp_len = strlen(cond->string_value); /* because we must reach value's length */
/* we must have greater or equal length to values */
- if ((unsigned int)strlen(string) < comp_len)
+ if ((unsigned long)strlen(string) < comp_len)
{
/* special case for unfinished dialing */
if (cond->match == MATCH_DIALING)