projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify pass_buffer_as_shm().
[paraslash.git]
/
playlist.c
diff --git
a/playlist.c
b/playlist.c
index dd4371578179031403ed04274f0a0e7f872294c5..efd27476f2199cb1dd82a3af50ee9f26aaded8af 100644
(file)
--- a/
playlist.c
+++ b/
playlist.c
@@
-144,7
+144,7
@@
void playlist_check_callback(int fd, __a_unused const struct osl_object *query)
osl_rbtree_loop(playlists_table, BLOBCOL_ID, &pb,
check_playlist);
if (pb.offset)
osl_rbtree_loop(playlists_table, BLOBCOL_ID, &pb,
check_playlist);
if (pb.offset)
- pass_buffer_as_shm(
pb.buf, pb.offset, &fd
);
+ pass_buffer_as_shm(
fd, pb.buf, pb.offset
);
free(pb.buf);
}
free(pb.buf);
}