projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0973548
)
vpn-provider: Make state debug print more useful
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Wed, 13 Feb 2013 15:29:00 +0000
(17:29 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Tue, 19 Feb 2013 10:51:41 +0000
(12:51 +0200)
Print the state value as a string as it is useful information.
vpn/vpn-provider.c
patch
|
blob
|
history
diff --git
a/vpn/vpn-provider.c
b/vpn/vpn-provider.c
index
8b68dba
..
2519dd5
100644
(file)
--- a/
vpn/vpn-provider.c
+++ b/
vpn/vpn-provider.c
@@
-1179,9
+1179,8
@@
static int provider_indicate_state(struct vpn_provider *provider,
{
const char *str;
- DBG("provider %p state %d", provider, state);
-
str = state2string(state);
+ DBG("provider %p state %s/%d", provider, str, state);
if (str == NULL)
return -EINVAL;