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 f6ed0bb..6740e47 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 3b364a5..5dce4ca 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;
                }