[sr-dev] git:master: modules/lcr: added PROTO_OTHER case to which in order to get rid of warning

Juha Heinanen jh at tutpro.com
Wed Sep 14 09:17:11 CEST 2011


Module: sip-router
Branch: master
Commit: 65c6b1e6367cd01149e70c49140322b563a27e4a
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=65c6b1e6367cd01149e70c49140322b563a27e4a

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Wed Sep 14 10:16:01 2011 +0300

modules/lcr: added PROTO_OTHER case to which in order to get rid of warning

---

 modules/lcr/lcr_rpc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/lcr/lcr_rpc.c b/modules/lcr/lcr_rpc.c
index 8f74f5d..b32b697 100644
--- a/modules/lcr/lcr_rpc.c
+++ b/modules/lcr/lcr_rpc.c
@@ -111,6 +111,9 @@ static void dump_gws(rpc_t* rpc, void* c)
 	    case PROTO_SCTP:
 		rpc->struct_add(st, "s", "transport", "SCTP");
 		break;
+	    case PROTO_OTHER:
+		rpc->struct_add(st, "s", "transport", "OTHER");
+		break;
 	    case PROTO_NONE:
 		break;
 	    }




More information about the sr-dev mailing list