Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
4b7a418e
Commit
4b7a418e
authored
Dec 14, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist/soundcloud: fix coding style
parent
73d917b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
15 deletions
+21
-15
SoundCloudPlaylistPlugin.cxx
src/playlist/SoundCloudPlaylistPlugin.cxx
+21
-15
No files found.
src/playlist/SoundCloudPlaylistPlugin.cxx
View file @
4b7a418e
...
...
@@ -63,7 +63,8 @@ soundcloud_init(const config_param ¶m)
* @return Constructed URL. Must be freed with g_free.
*/
static
char
*
soundcloud_resolve
(
const
char
*
uri
)
{
soundcloud_resolve
(
const
char
*
uri
)
{
char
*
u
,
*
ru
;
if
(
StringStartsWith
(
uri
,
"http://"
))
{
...
...
@@ -109,12 +110,13 @@ struct parse_data {
std
::
forward_list
<
SongPointer
>
songs
;
};
static
int
handle_integer
(
void
*
ctx
,
long
static
int
handle_integer
(
void
*
ctx
,
long
#ifndef HAVE_YAJL1
long
long
#endif
intval
)
intval
)
{
struct
parse_data
*
data
=
(
struct
parse_data
*
)
ctx
;
...
...
@@ -129,13 +131,14 @@ static int handle_integer(void *ctx,
return
1
;
}
static
int
handle_string
(
void
*
ctx
,
const
unsigned
char
*
stringval
,
static
int
handle_string
(
void
*
ctx
,
const
unsigned
char
*
stringval
,
#ifdef HAVE_YAJL1
unsigned
int
unsigned
int
#else
size_t
size_t
#endif
stringlen
)
stringlen
)
{
struct
parse_data
*
data
=
(
struct
parse_data
*
)
ctx
;
const
char
*
s
=
(
const
char
*
)
stringval
;
...
...
@@ -159,13 +162,14 @@ static int handle_string(void *ctx, const unsigned char* stringval,
return
1
;
}
static
int
handle_mapkey
(
void
*
ctx
,
const
unsigned
char
*
stringval
,
static
int
handle_mapkey
(
void
*
ctx
,
const
unsigned
char
*
stringval
,
#ifdef HAVE_YAJL1
unsigned
int
unsigned
int
#else
size_t
size_t
#endif
stringlen
)
stringlen
)
{
struct
parse_data
*
data
=
(
struct
parse_data
*
)
ctx
;
...
...
@@ -182,7 +186,8 @@ static int handle_mapkey(void *ctx, const unsigned char* stringval,
return
1
;
}
static
int
handle_start_map
(
void
*
ctx
)
static
int
handle_start_map
(
void
*
ctx
)
{
struct
parse_data
*
data
=
(
struct
parse_data
*
)
ctx
;
...
...
@@ -192,7 +197,8 @@ static int handle_start_map(void *ctx)
return
1
;
}
static
int
handle_end_map
(
void
*
ctx
)
static
int
handle_end_map
(
void
*
ctx
)
{
struct
parse_data
*
data
=
(
struct
parse_data
*
)
ctx
;
...
...
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