]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - playlist.c
Fix a bug in the output of para_audioc.
[paraslash.git] / playlist.c
index 7a912bade5f3890796d2c1a7a672757bee12fcb8..d1e16f8e131814f5c70b53239b747077f65d0c1e 100644 (file)
@@ -1,9 +1,10 @@
 /*
- * Copyright (C) 2007-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-2009 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
 
+#include <osl.h>
 #include "para.h"
 #include "error.h"
 #include "string.h"
@@ -120,8 +121,8 @@ static int check_playlist(struct osl_row *row, void *data)
 /**
  * Check the playlist table for inconsistencies.
  *
+ * \param fd The afs socket.
  * \param query Unused.
- * \param result Contains messages about inconsistencies.
  *
  * \return The return value of the underlying call to osl_rbtree_loop().
  */
@@ -174,7 +175,7 @@ int playlist_open(char *name)
 
        obj.data = name;
        obj.size = strlen(obj.data);
-       ret = osl_get_row(playlists_table, BLOBCOL_NAME, &obj, &row);
+       ret = osl(osl_get_row(playlists_table, BLOBCOL_NAME, &obj, &row));
        if (ret < 0) {
                PARA_NOTICE_LOG("failed to load playlist %s\n", name);
                return ret;