chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8141805
)
Fixed a null pointer deref.
author
Richard Kettlewell
<richard@deodand>
Thu, 17 Jun 2010 19:49:08 +0000
(20:49 +0100)
committer
Richard Kettlewell
<richard@deodand>
Thu, 17 Jun 2010 19:49:08 +0000
(20:49 +0100)
disobedience/playlists.c
patch
|
blob
|
blame
|
history
diff --git
a/disobedience/playlists.c
b/disobedience/playlists.c
index 4d4194ea76a0e3c5361ed03f2d794ac52920d384..c1a857da2c805827467b97c19dbda44ef1a84df1 100644
(file)
--- a/
disobedience/playlists.c
+++ b/
disobedience/playlists.c
@@
-601,7
+601,7
@@
static void playlist_new_details(char **namep,
if(privatep) *privatep = private;
if(namep) *namep = name;
if(fullnamep) {
if(privatep) *privatep = private;
if(namep) *namep = name;
if(fullnamep) {
- if(
*sharedp
) *fullnamep = *namep;
+ if(
shared
) *fullnamep = *namep;
else byte_xasprintf(fullnamep, "%s.%s", config->username, name);
}
}
else byte_xasprintf(fullnamep, "%s.%s", config->username, name);
}
}