summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sm_manager.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sm_manager.c b/src/sm_manager.c
index fd483a3..2c49c65 100644
--- a/src/sm_manager.c
+++ b/src/sm_manager.c
@@ -165,13 +165,16 @@ char **failureReasonRet;
+/* Using private API from libICE. */
+extern char *_IceGetPeerName (IceConn /* iceConn */);
+
char *
SmsClientHostName (smsConn)
SmsConn smsConn;
{
- return (_IceTransGetPeerNetworkId (smsConn->iceConn->trans_conn));
+ return (_IceGetPeerName (smsConn->iceConn));
}