summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-03 00:20:37 +0000
committersumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-03 00:20:37 +0000
commit5871797c83342c7bcc33d107b36748dd687c712e (patch)
treea37efe4c806316fceadf7cc25266ad64161bdc9c
parentd3a19ea262fcf7e8bcffbea9d3930293062630a8 (diff)
downloadATCD-5871797c83342c7bcc33d107b36748dd687c712e.tar.gz
CVS:
CVS:
-rw-r--r--TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Server.cpp6
-rw-r--r--TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Server.cpp b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Server.cpp
index 67b80aea31d..cc1902890af 100644
--- a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Server.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Server.cpp
@@ -804,12 +804,12 @@ CORBA::Boolean
Audio_Server_StreamEndPoint::handle_connection_requested (AVStreams::flowSpec &the_spec,
CORBA::Environment &env)
{
- ACE_DEBUG ((LM_DEBUG,"(%P|%t) Audio_Server_StreamEndPoint::handle_connection_requested:() %s \n",
- the_spec[0]));
+ // ACE_DEBUG ((LM_DEBUG,"(%P|%t) Audio_Server_StreamEndPoint::handle_connection_requested:() %s \n",
+ // the_spec[0]));
char *server_string;
- server_string = (const char *) the_spec [0];
+ server_string = CORBA::string_dup ((const char *) the_spec [0]);
CORBA::Boolean result;
result = AUDIO_CONTROL_I::instance ()->set_peer (server_string,env);
// Get media control from my vdev and call set_peer on that.
diff --git a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp
index 4cceae37f38..fd3112d8ed9 100644
--- a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp
@@ -234,12 +234,12 @@ CORBA::Boolean
Video_Server_StreamEndPoint::handle_connection_requested (AVStreams::flowSpec &the_spec,
CORBA::Environment &env)
{
- ACE_DEBUG ((LM_DEBUG,"(%P|%t) Video_Server_StreamEndPoint::handle_connection_requested:() %s \n",
- the_spec[0]));
+ // ACE_DEBUG ((LM_DEBUG,"(%P|%t) Video_Server_StreamEndPoint::handle_connection_requested:() %s \n",
+ // the_spec[0]));
char *server_string;
- server_string = (const char *) the_spec [0];
+ server_string = CORBA::string_dup ((const char *) the_spec [0]);
CORBA::Boolean result;
result = VIDEO_CONTROL_I::instance ()->set_peer (server_string,env);
// Get media control from my vdev and call set_peer on that.