--- a/genericopenlibs/openenvcore/backend/src/syscall/handlenms.cpp Wed Jun 09 11:33:19 2010 +0300
+++ b/genericopenlibs/openenvcore/backend/src/syscall/handlenms.cpp Thu Jul 15 20:34:46 2010 +0300
@@ -146,7 +146,7 @@
/* Get the default RConnection instance and use it if configured.
NOTE: This RConnection, if configured, would be created using the
socket server on backend. The same server has to be used here */
- RConnection defConnection = Backend()->GetDefaultConnection();
+ RConnection& defConnection = Backend()->GetDefaultConnection();
if(defConnection.SubSessionHandle() != 0)
{
err = hr.Open(ss, AF_INET, IPPROTO_UDP,defConnection);
@@ -324,7 +324,7 @@
/* Get the default RConnection instance and use it if configured.
NOTE: This RConnection, if configured, would be created using the
socket server on backend. The same server has to be used here */
- RConnection defConnection = Backend()->GetDefaultConnection();
+ RConnection& defConnection = Backend()->GetDefaultConnection();
if(defConnection.SubSessionHandle() != 0)
{
err=r.Open(ss, format, IPPROTO_UDP, defConnection);
@@ -418,7 +418,7 @@
/* Get the default RConnection instance and use it if configured.
NOTE: This RConnection, if configured, would be created using the
socket server on backend. The same server has to be used here */
- RConnection defConnection = Backend()->GetDefaultConnection();
+ RConnection& defConnection = Backend()->GetDefaultConnection();
if (defConnection.SubSessionHandle() != 0)
{
err = r.Open(ss, AF_INET, IPPROTO_UDP, defConnection);
@@ -637,7 +637,7 @@
/* Get the default RConnection instance and use it if configured.
NOTE: This RConnection, if configured, would be created using the
socket server on backend. The same server has to be used here */
- RConnection defConnection = Backend()->GetDefaultConnection();
+ RConnection& defConnection = Backend()->GetDefaultConnection();
if(defConnection.SubSessionHandle() != 0)
err = resolver.Open(sockServ, KAfInet, KProtocolInetUdp, defConnection);
else