close network sockets on fork
[ardour.git] / libs / midi++2 / mtc.cc
index 32fb8cf3d6ec738976243f958351b77c5910d6ab..affe65ec680dae6c5b8bc88beee5d4c4a99ab7e1 100644 (file)
@@ -33,7 +33,7 @@ using namespace std;
 using namespace sigc;
 using namespace MIDI;
 
-#define DEBUG_MTC
+#undef DEBUG_MTC
 
 bool
 Parser::possible_mtc (byte *sysex_buf, size_t msglen)
@@ -300,7 +300,7 @@ Parser::process_mtc_quarter_frame (byte *msg)
 
        switch (_mtc_running) {
        case MTC_Forward:
-               if ((which_quarter_frame == 7)) {
+               if (which_quarter_frame == 7) {
                        
                        /* we've reached the final of 8 quarter frame messages.
                           store the time, reset the pending time holder,