]> git.tue.mpg.de Git - paraslash.git/commitdiff
cosmetics.
authorAndre Noll <maan@systemlinux.org>
Fri, 26 Oct 2007 13:23:51 +0000 (15:23 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 26 Oct 2007 13:23:51 +0000 (15:23 +0200)
attribute.c
vss.c

index f6ed0bb421263b3172f35c4d93658811dae8ea78..6740e4743ec111e1279d3c876f9f39f9120ce0eb 100644 (file)
@@ -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 3b364a5b9f6c84265a41576867a7f58a08fff2f8..5dce4cac9a4b1479535f742291d914f852284c94 100644 (file)
--- 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;
                }