[asterisk-commits] russell: branch russell/jack r96690 - /team/russell/jack/apps/app_jack.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jan 5 10:07:51 CST 2008


Author: russell
Date: Sat Jan  5 10:07:51 2008
New Revision: 96690

URL: http://svn.digium.com/view/asterisk?view=rev&rev=96690
Log:
Only log status if there is something to report

Modified:
    team/russell/jack/apps/app_jack.c

Modified: team/russell/jack/apps/app_jack.c
URL: http://svn.digium.com/view/asterisk/team/russell/jack/apps/app_jack.c?view=diff&rev=96690&r1=96689&r2=96690
==============================================================================
--- team/russell/jack/apps/app_jack.c (original)
+++ team/russell/jack/apps/app_jack.c Sat Jan  5 10:07:51 2008
@@ -342,7 +342,8 @@
 	}
 
 	jack_data->client = jack_client_open(chan_name, 0, &status);
-	log_jack_status("Client Open Status", status);
+	if (status)
+		log_jack_status("Client Open Status", status);
 
 	if (!jack_data->client) {
 		destroy_jack_data(jack_data);




More information about the asterisk-commits mailing list