Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
0f2fc64d
Commit
0f2fc64d
authored
Oct 04, 2007
by
Pierre-Luc Beaudoin
Browse files
Account in ERROR
parent
45452cd5
Changes
4
Hide whitespace changes
Inline
Side-by-side
sflphone-gtk/src/accountlist.c
View file @
0f2fc64d
...
...
@@ -123,6 +123,9 @@ const gchar * account_state_name(account_state_t s)
case
ACCOUNT_STATE_TRYING
:
state
=
"Trying..."
;
break
;
case
ACCOUNT_STATE_ERROR
:
state
=
"Error"
;
break
;
default:
state
=
"Invalid"
;
break
;
...
...
sflphone-gtk/src/accountlist.h
View file @
0f2fc64d
...
...
@@ -50,7 +50,8 @@ typedef enum
ACCOUNT_STATE_INVALID
=
0
,
ACCOUNT_STATE_REGISTERED
,
ACCOUNT_STATE_UNREGISTERED
,
ACCOUNT_STATE_TRYING
ACCOUNT_STATE_TRYING
,
ACCOUNT_STATE_ERROR
}
account_state_t
;
/** @struct account_t
...
...
sflphone-gtk/src/actions.c
View file @
0f2fc64d
...
...
@@ -121,6 +121,10 @@ sflphone_fill_account_list()
{
a
->
state
=
ACCOUNT_STATE_TRYING
;
}
else
if
(
strcmp
(
status
,
"ERROR"
)
==
0
)
{
a
->
state
=
ACCOUNT_STATE_ERROR
;
}
else
{
a
->
state
=
ACCOUNT_STATE_INVALID
;
...
...
src/managerimpl.cpp
View file @
0f2fc64d
...
...
@@ -1582,7 +1582,7 @@ ManagerImpl::getAccountDetails(const AccountID& accountID)
(
state
==
VoIPLink
::
Registered
?
"REGISTERED"
:
(
state
==
VoIPLink
::
Unregistered
?
"UNREGISTERED"
:
(
state
==
VoIPLink
::
Trying
?
"TRYING"
:
(
state
==
VoIPLink
::
Error
?
"ERROR"
:
"
UNKNOWN
"
))))
(
state
==
VoIPLink
::
Error
?
"ERROR"
:
"
ERROR
"
))))
)
);
a
.
insert
(
...
...
Write
Preview
Supports
Markdown
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