Module: kamailio
Branch: master
Commit: bc5ac8caee55f8d197992fb00b4cb098eeb69843
URL:
https://github.com/kamailio/kamailio/commit/bc5ac8caee55f8d197992fb00b4cb09…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-04-21T19:10:01+02:00
textopsx: fixed clang compile warning on comparing bool with char
---
Modified: modules/textopsx/textopsx.c
---
Diff:
https://github.com/kamailio/kamailio/commit/bc5ac8caee55f8d197992fb00b4cb09…
Patch:
https://github.com/kamailio/kamailio/commit/bc5ac8caee55f8d197992fb00b4cb09…
---
diff --git a/modules/textopsx/textopsx.c b/modules/textopsx/textopsx.c
index 7e85013..6e21242 100644
--- a/modules/textopsx/textopsx.c
+++ b/modules/textopsx/textopsx.c
@@ -863,7 +863,7 @@ static int find_hf_value2_param(struct hname_data* hname, str*
param_area, str*
while (i<param_area->len && is_space(param_area->s[i])) i++;
}
else {
- while (i<param_area->len && !is_space(param_area->s[i]) &&
!param_area->s[i]!=',') i++;
+ while (i<param_area->len && !is_space(param_area->s[i]) &&
!(param_area->s[i]!=',')) i++;
}
}
lump_del->s = param_area->s + i;