Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
spr0cketeer
Icecast-Server
Commits
0ade7d3e
Commit
0ade7d3e
authored
Nov 30, 2014
by
Philipp Schafft
🦁
Browse files
cleanup: make use of const
svn path=/icecast/trunk/icecast/; revision=19373
parent
35723bed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/yp.c
View file @
0ade7d3e
...
@@ -435,7 +435,7 @@ static int do_yp_touch (ypdata_t *yp, char *s, unsigned len)
...
@@ -435,7 +435,7 @@ static int do_yp_touch (ypdata_t *yp, char *s, unsigned len)
if
(
artist
||
title
)
if
(
artist
||
title
)
{
{
char
*
song
;
char
*
song
;
char
*
separator
=
" - "
;
const
char
*
separator
=
" - "
;
if
(
artist
==
NULL
)
if
(
artist
==
NULL
)
{
{
artist
=
strdup
(
""
);
artist
=
strdup
(
""
);
...
...
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