]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - playlist.c
make send_callback_request() and friends take a result handler.
[paraslash.git] / playlist.c
index 8955ea9dc6793eb9d646c708f59313d6a41c3549..19a913144586a3b574dccef2b874964dbc7c2610 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-2008 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -133,7 +133,7 @@ int playlist_check_callback(__a_unused const struct osl_object *query,
        osl_rbtree_loop(playlists_table, BLOBCOL_ID, &pb,
                check_playlist);
        result->data = pb.buf;
-       result->size = pb.size;
+       result->size = pb.offset;
        return 1;
 }