summaryrefslogtreecommitdiff
path: root/src/tag.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-13 17:08:31 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-13 17:08:31 +0000
commit5a50fa7147be049212274534ccfbf7ed14708070 (patch)
tree4f4f34fb6479102d7bf0d5ae8247a7bfac806aa8 /src/tag.c
parentacf0e147c25d93d9434bb279ae422cb4e62c1f7e (diff)
block signals when writing db to ensure db isn't corrupted
git-svn-id: https://svn.musicpd.org/mpd/trunk@730 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tag.c b/src/tag.c
index 23128ae16..c4623bb58 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -51,6 +51,7 @@
#include "mp4ff/mp4ff.h"
#endif
+/* DON'T BLOCK SIGNALS IN THIS FUNCTION, called by writeDirectoryDB() */
void printMpdTag(FILE * fp, MpdTag * tag) {
if(tag->artist) myfprintf(fp,"Artist: %s\n",tag->artist);
if(tag->album) myfprintf(fp,"Album: %s\n",tag->album);