diff options
author | crodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-06-20 19:01:35 +0000 |
---|---|---|
committer | crodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-06-20 19:01:35 +0000 |
commit | 412fb7addfe4b7059a290fbf2f7707f8bab49e4a (patch) | |
tree | 914b3a8b93c759ca87b27d64f3bc574c2ce434f1 /TAO/orbsvcs/tests/AVStreams/mpeg | |
parent | 48efe5290261f4c6d70138878921f88beaf36306 (diff) | |
download | ATCD-412fb7addfe4b7059a290fbf2f7707f8bab49e4a.tar.gz |
Improved debugging statements
Diffstat (limited to 'TAO/orbsvcs/tests/AVStreams/mpeg')
-rw-r--r-- | TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_i.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_i.cpp b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_i.cpp index 93aef9d73cd..37193685728 100644 --- a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_i.cpp +++ b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_i.cpp @@ -160,24 +160,24 @@ Video_Control_i::set_peer (char * &peer, ACE_INET_Addr client_data_addr (peer_addr_str); // Data (UDP) Address of the client. - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) set_peer called: %s,%s,%d\n", - peer, - client_data_addr.get_host_addr (), - client_data_addr.get_port_number ())); - - char temp_addr [BUFSIZ]; - if (VIDEO_SINGLETON::instance ()->data_host != 0) - ACE_OS::sprintf (temp_addr,"%s:%d",VIDEO_SINGLETON::instance ()->data_host,0); - else - ACE_OS::sprintf (temp_addr,":%d",0); - + + ACE_DEBUG ((LM_DEBUG, + "(%P|%t) set_peer called: %s,%s,%d\n", + peer, + client_data_addr.get_host_addr (), + client_data_addr.get_port_number ())); + + char temp_addr [BUFSIZ]; + if (VIDEO_SINGLETON::instance ()->data_host != 0) + ACE_OS::sprintf (temp_addr,"%s:%d",VIDEO_SINGLETON::instance ()->data_host,0); + else + ACE_OS::sprintf (temp_addr,":%d",0); + if (VIDEO_SINGLETON::instance ()->dgram.open (client_data_addr) == -1) ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) UDP open failed: %p\n"), 0); - + // set the socket buffer sizes to 64k. int sndbufsize = ACE_DEFAULT_MAX_SOCKET_BUFSIZ; int rcvbufsize = ACE_DEFAULT_MAX_SOCKET_BUFSIZ; |