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
2b579aeb
Commit
2b579aeb
authored
May 27, 2013
by
Matthias Drochner
Committed by
Max Kellermann
Jun 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NULL pointer vs bool "false" confusion
there are some places in the mpd-0.17.4 sources where a "false" is used instead of a NULL pointer.
parent
7d5d95ad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
conf.c
src/conf.c
+1
-1
song_update.c
src/song_update.c
+1
-1
update_song.c
src/update_song.c
+1
-1
No files found.
src/conf.c
View file @
2b579aeb
...
...
@@ -317,7 +317,7 @@ config_read_block(FILE *fp, int *count, char *string, GError **error_r)
g_set_error
(
error_r
,
config_quark
(),
0
,
"line %i: Unknown tokens after '}'"
,
*
count
);
return
false
;
return
NULL
;
}
return
ret
;
...
...
src/song_update.c
View file @
2b579aeb
...
...
@@ -187,7 +187,7 @@ song_file_update_inarchive(struct song *song)
if
(
suffix
==
NULL
)
return
false
;
plugin
=
decoder_plugin_from_suffix
(
suffix
,
false
);
plugin
=
decoder_plugin_from_suffix
(
suffix
,
NULL
);
if
(
plugin
==
NULL
)
return
false
;
...
...
src/update_song.c
View file @
2b579aeb
...
...
@@ -104,7 +104,7 @@ update_song_file(struct directory *directory,
const
struct
stat
*
st
)
{
const
struct
decoder_plugin
*
plugin
=
decoder_plugin_from_suffix
(
suffix
,
false
);
decoder_plugin_from_suffix
(
suffix
,
NULL
);
if
(
plugin
==
NULL
)
return
false
;
...
...
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