From: Andre Noll Date: Fri, 26 Oct 2007 13:23:51 +0000 (+0200) Subject: cosmetics. X-Git-Tag: v0.3.0~184 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=4d719c981dcaf28fdbf3a8416064f9c26a22f13f cosmetics. --- 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; }