From 4d719c981dcaf28fdbf3a8416064f9c26a22f13f Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 26 Oct 2007 15:23:51 +0200 Subject: [PATCH] cosmetics. --- attribute.c | 6 ++---- vss.c | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/attribute.c b/attribute.c index f6ed0bb4..6740e474 100644 --- a/attribute.c +++ b/attribute.c @@ -71,7 +71,7 @@ static void find_greatest_att_bitnum(void) return; } } while (c--); - PARA_INFO_LOG("%s\n", "no attributes"); + PARA_INFO_LOG("no attributes\n"); greatest_att_bitnum = -E_NO_ATTRIBUTES; } @@ -266,9 +266,7 @@ static int com_setatt_callback(const struct osl_object *query, new_afsi.attributes |= add_mask; new_afsi.attributes &= ~del_mask; save_afsi(&new_afsi, &obj); /* in-place update */ -// ret = mood_update_audio_file(aft_row, &old_afsi); -// if (ret < 0) -// return ret; + // FIXME: Event? } return 1; } diff --git a/vss.c b/vss.c index 3b364a5b..5dce4cac 100644 --- a/vss.c +++ b/vss.c @@ -316,8 +316,8 @@ struct timeval *vss_preselect(fd_set *rfds, fd_set *wfds, int *max_fileno) return tv; if (!map && vss_playing() && !(mmd->new_vss_status_flags & VSS_NOMORE)) { - PARA_DEBUG_LOG("ready and playing, but no audio file\n"); if (afsss == AFS_SOCKET_READY) { + PARA_DEBUG_LOG("ready and playing, but no audio file\n"); para_fd_set(afs_socket, wfds, max_fileno); afsss = AFS_SOCKET_CHECK_FOR_WRITE; } -- 2.39.5