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:
e07e2d1
)
session: reason2string return a string for unknown
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Mon, 22 Aug 2011 12:26:05 +0000
(14:26 +0200)
committer
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Tue, 23 Aug 2011 15:22:29 +0000
(17:22 +0200)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index 19771b2aa59ed81417324e34d8659abb358579a3..07d4ef341e7bb06f2bd580ec9ff22a8c84bde6ea 100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-134,7
+134,7
@@
static const char *reason2string(enum connman_session_reason reason)
{
switch (reason) {
case CONNMAN_SESSION_REASON_UNKNOWN:
-
break
;
+
return "unknown"
;
case CONNMAN_SESSION_REASON_CONNECT:
return "connect";
case CONNMAN_SESSION_REASON_FREE_RIDE: