From 849ef0f9ede49ec8a17efab740d0679f0d146e69 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 6 Jan 2016 13:36:55 +0100 Subject: [PATCH] Fix build. --- tester/call_tester.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tester/call_tester.c b/tester/call_tester.c index fb04e8746..f87c1d290 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -1989,7 +1989,7 @@ void video_call_base_2(LinphoneCoreManager* caller,LinphoneCoreManager* callee, linphone_core_enable_video_capture(caller->lc, caller_video_enabled); if (mode==LinphoneMediaEncryptionDTLS) { /* for DTLS we must access certificates or at least have a directory to store them */ - const char *path = bc_tester_file("certificates-marie"); + char *path = bc_tester_file("certificates-marie"); callee->lc->user_certificates_path = ms_strdup(path); bc_free(path); path = bc_tester_file("certificates-pauline"); @@ -2101,7 +2101,7 @@ void video_call_base_3(LinphoneCoreManager* caller,LinphoneCoreManager* callee, linphone_core_enable_video_capture(caller->lc, caller_video_enabled); if (mode==LinphoneMediaEncryptionDTLS) { /* for DTLS we must access certificates or at least have a directory to store them */ - const char *path = bc_tester_file("certificates-marie"); + char *path = bc_tester_file("certificates-marie"); callee->lc->user_certificates_path = ms_strdup(path); bc_free(path); path = bc_tester_file("certificates-pauline"); @@ -2944,7 +2944,7 @@ void call_base_with_configfile(LinphoneMediaEncryption mode, bool_t enable_video linphone_core_set_media_encryption(marie->lc,mode); linphone_core_set_media_encryption(pauline->lc,mode); if (mode==LinphoneMediaEncryptionDTLS) { /* for DTLS we must access certificates or at least have a directory to store them */ - const char *path = bc_tester_file("certificates-marie"); + char *path = bc_tester_file("certificates-marie"); marie->lc->user_certificates_path = ms_strdup(path); bc_free(path); path = bc_tester_file("certificates-pauline");