Commit 7d6c8ca0 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

This should fix export issue on win32

parent befbdada
......@@ -815,7 +815,7 @@ void linphone_friend_list_export_friends_as_vcard4_file(LinphoneFriendList *list
FILE *file = NULL;
const MSList *friends = linphone_friend_list_get_friends(list);
file = fopen(vcard_file, "w");
file = fopen(vcard_file, "wb");
if (file == NULL) {
ms_warning("Could not write %s ! Maybe it is read-only. Contacts will not be saved.", vcard_file);
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