projects
/
framework
/
messaging
/
msg-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57da43
)
expend the retry time to register the contact change CB.
author
Keebum Kim
<keebum.kim@samsung.com>
Fri, 30 Aug 2013 08:33:03 +0000
(17:33 +0900)
committer
Keebum Kim
<keebum.kim@samsung.com>
Fri, 30 Aug 2013 08:33:03 +0000
(17:33 +0900)
utils/MsgContact.cpp
patch
|
blob
|
history
diff --git
a/utils/MsgContact.cpp
b/utils/MsgContact.cpp
index
1fcb514
..
0c2399e
100755
(executable)
--- a/
utils/MsgContact.cpp
+++ b/
utils/MsgContact.cpp
@@
-93,13
+93,13
@@
msg_error_t MsgInitContactSvc(MsgContactChangeCB cb)
{
msg_error_t err = MSG_SUCCESS;
- unsigned int retryCnt = 10;
+ unsigned int retryCnt = 10
0
;
do {
if ((err = MsgOpenContactSvc()) != MSG_SUCCESS) {
retryCnt--;
MSG_DEBUG("MsgOpenContactSvc fail. Retry count left [%d]", retryCnt);
- usleep(
1
00 * 1000);
+ usleep(
5
00 * 1000);
}
} while (err != MSG_SUCCESS && retryCnt > 0);