]> git.neil.brown.name Git - gta04-gsm-voice-routing.git/commitdiff
log when routing started
authorRadek Polak <psonek2@seznam.cz>
Sat, 4 Feb 2012 15:00:03 +0000 (16:00 +0100)
committerRadek Polak <psonek2@seznam.cz>
Sat, 4 Feb 2012 15:00:03 +0000 (16:00 +0100)
gsm-voice-routing.c

index 4ca5fea017df390fbef73371e05fb381f558638c..9529d0d808e286ed777aa64e2c7f352693510b94 100644 (file)
@@ -412,7 +412,10 @@ int main()
             continue;
         }
 
-        started = 1;
+        if(!started) {
+            fprintf(logfile, "voice routing started\n");
+            started = 1;
+        }
 
         memmove(p0.period_buffer, r1.period_buffer, r1.period_buffer_size);
         route_stream_write(&p0);