Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
dba1a8f0
Commit
dba1a8f0
authored
Oct 09, 2020
by
Julien Wadel
Browse files
Revert modifications on vcard fix
parent
60eff70b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
coreapi/friend.c
coreapi/friend.c
+1
-7
No files found.
coreapi/friend.c
View file @
dba1a8f0
...
...
@@ -1475,13 +1475,7 @@ static int create_friend(void *data, int argc, char **argv, char **colName) {
LinphoneVcard
*
vcard
=
NULL
;
unsigned
int
storage_id
=
(
unsigned
int
)
atoi
(
argv
[
0
]);
//sqlite3_exec return a Locale string and Belcard need to be in UTF8 for parsing
if
(
argv
[
6
])
{
string
localeBuffer
(
argv
[
6
]);
string
utf8Buffer
=
LinphonePrivate
::
Utils
::
localeToUtf8
(
localeBuffer
);
vcard
=
linphone_vcard_context_get_vcard_from_buffer
(
context
,
utf8Buffer
.
c_str
());
}
vcard
=
linphone_vcard_context_get_vcard_from_buffer
(
context
,
argv
[
6
]);
if
(
vcard
)
{
linphone_vcard_set_etag
(
vcard
,
argv
[
7
]);
linphone_vcard_set_url
(
vcard
,
argv
[
8
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment