From f9d6f3ae979153f3eb3498cce8a5fdacc084a32f Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Wed, 11 Jan 2017 13:05:36 +0100 Subject: [PATCH] Fixed compil... --- coreapi/lime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/lime.c b/coreapi/lime.c index 5dfaae0f5..c72bef7ba 100644 --- a/coreapi/lime.c +++ b/coreapi/lime.c @@ -845,7 +845,7 @@ bool_t linphone_chat_room_lime_available(LinphoneChatRoom *cr) { if (cacheXml) { bool_t res; limeURIKeys_t associatedKeys; - char *peer = linphone_address_as_string_uri_only(linphone_chat_room_get_peer_address(room)); + char *peer = linphone_address_as_string_uri_only(linphone_chat_room_get_peer_address(cr)); /* retrieve keys associated to the peer URI */ associatedKeys.peerURI = (uint8_t *)malloc(strlen(peer)+1);