From: Daniel Wagner Date: Mon, 22 Aug 2011 12:26:05 +0000 (+0200) Subject: session: reason2string return a string for unknown X-Git-Tag: 2.0_alpha~1216 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74187e2ea8e7bef901f8d0273c8486085fe5ea0a;p=framework%2Fconnectivity%2Fconnman.git session: reason2string return a string for unknown --- diff --git a/src/session.c b/src/session.c index 19771b2..07d4ef3 100644 --- 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: