aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory_save.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-07 16:20:07 +0100
committerMax Kellermann <max@duempel.org>2009-11-07 16:20:07 +0100
commitc422344190836878e1229fdf85ca102d9fc40374 (patch)
treeec72d25c8adaa445794e1d740005ba630279fe58 /src/directory_save.h
parent1a4cfc3d90b1ac3cc612d3f610caadb04179820c (diff)
downloadmpd-c422344190836878e1229fdf85ca102d9fc40374.tar.gz
mpd-c422344190836878e1229fdf85ca102d9fc40374.tar.xz
mpd-c422344190836878e1229fdf85ca102d9fc40374.zip
database: I/O error handling in db_save()
Check ferror() instead of the fprintf() return value.
Diffstat (limited to '')
-rw-r--r--src/directory_save.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory_save.h b/src/directory_save.h
index d9daa3fed..fa2775624 100644
--- a/src/directory_save.h
+++ b/src/directory_save.h
@@ -27,7 +27,7 @@
struct directory;
-int
+void
directory_save(FILE *fp, struct directory *directory);
bool