Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
sofia-sip
Commits
7539fcdc
Commit
7539fcdc
authored
Sep 08, 2005
by
Pekka Pessi
Browse files
Not using IS_EXCLUDED_MASK.
darcs-hash:20050908150158-65a35-a0bcd482c9094f42eb12e63822c7d002f26c6f19.gz
parent
6a7af5e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
libsofia-sip-ua/url/url.c
libsofia-sip-ua/url/url.c
+6
-1
No files found.
libsofia-sip-ua/url/url.c
View file @
7539fcdc
...
...
@@ -132,6 +132,11 @@ const char url_h_id[] = URL_H;
else if (a < 128) \
mask96 &= ~(1U << (127 - a))
#define RMASK1 0xbe19003f
#define RMASK2 0x8000001e
#define RMASK3 0x8000001d
#define RESERVED_MASK 0xbe19003f, 0x8000001e, 0x8000001d
#define URIC_MASK 0xb400000a, 0x0000001e, 0x8000001d
...
...
@@ -150,7 +155,7 @@ int url_reserved_p(char const *s)
while
(
*
s
)
{
unsigned
char
u
=
*
s
++
;
if
(
IS_EXCLUDED
_
MASK
(
u
,
R
ESERVED_
MASK
))
if
(
IS_EXCLUDED
(
u
,
R
MASK
1
,
R
MASK2
,
R
MASK
3
))
return
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment