projects
/
sip-router
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
face488
)
- warning fix
author
Michal Matyska
<michal.matyska@iptel.org>
Tue, 11 Sep 2007 15:20:02 +0000
(15:20 +0000)
committer
Michal Matyska
<michal.matyska@iptel.org>
Tue, 11 Sep 2007 15:20:02 +0000
(15:20 +0000)
route.c
patch
|
blob
|
history
diff --git
a/route.c
b/route.c
index
d963d72
..
045389a
100644
(file)
--- a/
route.c
+++ b/
route.c
@@
-708,6
+708,7
@@
inline static int comp_string(int op, char* left, int rtype, union exp_op* r)
char* right;
ret=-1;
+ right=0;
if (rtype == AVP_ST) {
avp = search_avp_by_index(r->attr->type, r->attr->name, &val, r->attr->index);
if (avp && (avp->flags & AVP_VAL_STR)) right = val.s.s;