[asterisk-commits] pcadach: branch pcadach/chan_h323-live r42924 -
/team/pcadach/chan_h323-live/...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Sep 14 02:14:43 MST 2006
Author: pcadach
Date: Thu Sep 14 04:14:42 2006
New Revision: 42924
URL: http://svn.digium.com/view/asterisk?rev=42924&view=rev
Log:
Cleanup generation of logging output (should be "cout << <msg> << endl;")
Modified:
team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp
Modified: team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp?rev=42924&r1=42923&r2=42924&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp (original)
+++ team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp Thu Sep 14 04:14:42 2006
@@ -899,7 +899,7 @@
call_details_t cd;
if (h323debug) {
- cout << ("\t--Received SETUP message\n");
+ cout << "\t--Received SETUP message" << endl;
}
if (connectionState == ShuttingDownConnection)
@@ -912,7 +912,7 @@
if (!res) {
if (h323debug) {
- cout << " -- Call Failed" << endl;
+ cout << "\t-- Call Failed" << endl;
}
return FALSE;
}
@@ -927,7 +927,7 @@
call_details_t cd;
if (h323debug) {
- cout << " -- Sending SETUP message" << endl;
+ cout << "\t-- Sending SETUP message" << endl;
}
if (connectionState == ShuttingDownConnection)
@@ -1696,7 +1696,7 @@
H323Connection * connection;
if (h323debug) {
- cout << "\tSending alerting\n" << endl;
+ cout << "\tSending alerting" << endl;
}
connection = endPoint->FindConnectionWithLock(currentToken);
if (!connection) {
@@ -1768,7 +1768,7 @@
MyH323Connection *connection = (MyH323Connection *)endPoint->FindConnectionWithLock(token);
if (!connection) {
- cout << "ERROR: No connection found, this is bad\n";
+ cout << "ERROR: No connection found, this is bad" << endl;
return;
}
More information about the asterisk-commits
mailing list