Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
801ab0bc
Commit
801ab0bc
authored
Apr 10, 2003
by
Michael Smith
Browse files
What was I on when I wrote this? oddsock pointed out that util_url_escape()
was chronically broken svn path=/trunk/icecast/; revision=4602
parent
2cb0db8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util.c
View file @
801ab0bc
...
...
@@ -253,8 +253,8 @@ char *util_url_escape(char *src)
}
else
{
dst
[
j
]
=
'%'
;
dst
[
j
+
1
]
=
hexchars
[
source
[
i
]
&
0x
15
];
dst
[
j
+
2
]
=
hexchars
[
(
source
[
i
]
>>
4
)
&
0x
15
];
dst
[
j
+
1
]
=
hexchars
[
(
source
[
i
]
>>
4
)
&
0x
f
];
dst
[
j
+
2
]
=
hexchars
[
source
[
i
]
&
0x
f
];
j
+=
3
;
}
}
...
...
Write
Preview
Supports
Markdown
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