Commit b551bb92 authored by Simon Morlat's avatar Simon Morlat

fix warnings

parent 7a13e47f
......@@ -87,5 +87,5 @@ LinphoneAuthInfo *linphone_factory_create_auth_info(const LinphoneFactory *facto
}
LinphoneVcard *linphone_factory_create_vcard(LinphoneFactory *factory) {
return linphone_vcard_new();
return _linphone_vcard_new();
}
......@@ -963,7 +963,7 @@ int linphone_friend_list_import_friends_from_vcard4_file(LinphoneFriendList *lis
}
linphone_friend_unref(lf);
} else {
linphone_vcard_free(vcard);
linphone_vcard_unref(vcard);
}
vcards_iterator = bctbx_list_next(vcards_iterator);
}
......@@ -1002,7 +1002,7 @@ int linphone_friend_list_import_friends_from_vcard4_buffer(LinphoneFriendList *l
}
linphone_friend_unref(lf);
} else {
linphone_vcard_free(vcard);
linphone_vcard_unref(vcard);
}
vcards_iterator = bctbx_list_next(vcards_iterator);
}
......
......@@ -89,7 +89,7 @@ BELLE_SIP_INSTANCIATE_VPTR(LinphoneVcard, belle_sip_object_t,
FALSE
);
static LinphoneVcard* _linphone_vcard_new(void) {
LinphoneVcard* _linphone_vcard_new(void) {
LinphoneVcard* vCard = belle_sip_object_new(LinphoneVcard);
vCard->belCard = belcard::BelCardGeneric::create<belcard::BelCard>();
return vCard;
......
......@@ -99,6 +99,8 @@ bool_t linphone_vcard_compare_md5_hash(LinphoneVcard *vCard);
void linphone_vcard_clean_cache(LinphoneVcard *vCard);
LinphoneVcard* _linphone_vcard_new(void);
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment