X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=playlist.c;h=806e49d55f68502fb38daffc33620cb075bbd1b3;hp=b04598b844043cc96fa01b8aa834030ee9d7697e;hb=3150a0caa27a34d44556fb77f4a5aebc3d978580;hpb=ffb2eaa90429f6d5c3d369509efcdf91c5463dad diff --git a/playlist.c b/playlist.c index b04598b8..806e49d5 100644 --- a/playlist.c +++ b/playlist.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2010 Andre Noll + * Copyright (C) 2007-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -131,7 +131,7 @@ static int check_playlist(struct osl_row *row, void *data) void playlist_check_callback(int fd, __a_unused const struct osl_object *query) { struct para_buffer pb = { - .max_size = SHMMAX, + .max_size = shm_get_shmmax(), .private_data = &fd, .max_size_handler = pass_buffer_as_shm };