Fixed compil...

This commit is contained in:
Sylvain Berfini 2017-01-11 13:05:36 +01:00
parent 2e72668539
commit f9d6f3ae97

View file

@ -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);