Module: sip-router
Branch: master
Commit: 935f06eb8c34fe5fe82588cdd5b4af2f68c51466
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=935f06e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jan 28 18:47:42 2014 +0100
core/parse_methods: removed duplicate check for same characters
- on a report generated by cppcheck sent by David Binderman
---
parser/parse_methods.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/parser/parse_methods.c b/parser/parse_methods.c
index ab8a36b..8be1c28 100644
--- a/parser/parse_methods.c
+++ b/parser/parse_methods.c
@@ -40,7 +40,7 @@ static int token_char(char _c)
(_c >= 48 && _c <= 57) || /* digits */
(_c == '-') || (_c == '.') || (_c == '!') || (_c ==
'%') ||
(_c == '*') || (_c == '_') || (_c == '+') || (_c ==
'`') ||
- (_c == '\'') || (_c == '~') || (_c == '+') || (_c ==
'`');
+ (_c == '\'') || (_c == '~');
}