projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
para_write: Return proper error code.
[paraslash.git]
/
playlist.c
diff --git
a/playlist.c
b/playlist.c
index 171ebab59938b79b0f18c61e60fdb40b9390b680..2d2f23b4eb9c6df6b2d9ff9157a9716f09c1fcc6 100644
(file)
--- a/
playlist.c
+++ b/
playlist.c
@@
-1,9
+1,12
@@
/*
/*
- * Copyright (C) 2007-20
08
Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-20
11
Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
+#include <regex.h>
+#include <osl.h>
+
#include "para.h"
#include "error.h"
#include "string.h"
#include "para.h"
#include "error.h"
#include "string.h"
@@
-174,7
+177,7
@@
int playlist_open(char *name)
obj.data = name;
obj.size = strlen(obj.data);
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;
if (ret < 0) {
PARA_NOTICE_LOG("failed to load playlist %s\n", name);
return ret;