Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
e1165086
Commit
e1165086
authored
Aug 10, 2018
by
Matthieu Tanon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix confusing error in comments
parent
bb8bbfd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/chat/encryption/lime-v2.cpp
src/chat/encryption/lime-v2.cpp
+2
-2
No files found.
src/chat/encryption/lime-v2.cpp
View file @
e1165086
...
...
@@ -516,8 +516,8 @@ void LimeV2::onRegistrationStateChanged (LinphoneProxyConfig *cfg, LinphoneRegis
lInfo
()
<<
e
.
what
()
<<
" while creating lime user"
;
// update keys if necessary
int
limeUpdateThreshold
=
lp_config_get_int
(
lpconfig
,
"lime"
,
"lime_update_threshold"
,
86400
);
if
(
ms_time
(
NULL
)
-
lastLimeUpdate
>
limeUpdateThreshold
)
{
// 24 hours = 86400 ms
int
limeUpdateThreshold
=
lp_config_get_int
(
lpconfig
,
"lime"
,
"lime_update_threshold"
,
86400
);
// 24 hours = 86400 s
if
(
ms_time
(
NULL
)
-
lastLimeUpdate
>
limeUpdateThreshold
)
{
update
(
lpconfig
);
lastLimeUpdate
=
ms_time
(
NULL
);
}
else
{
...
...
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