Module: kamailio
Branch: master
Commit: 177b0d2807763b13d30148f44c1cc4d3d765d67c
URL:
https://github.com/kamailio/kamailio/commit/177b0d2807763b13d30148f44c1cc4d…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2015-05-06T06:32:30+03:00
sctp: fix typo scp_register_rpc -> sctp_register_rpc
---
Modified: modules/sctp/sctp_rpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/177b0d2807763b13d30148f44c1cc4d…
Patch:
https://github.com/kamailio/kamailio/commit/177b0d2807763b13d30148f44c1cc4d…
---
diff --git a/modules/sctp/sctp_rpc.c b/modules/sctp/sctp_rpc.c
index 15dbd07..030774a 100644
--- a/modules/sctp/sctp_rpc.c
+++ b/modules/sctp/sctp_rpc.c
@@ -154,7 +154,7 @@ static void core_sctpinfo(rpc_t* rpc, void* c)
/*
* RPC Methods exported by this module
*/
-static rpc_export_t scp_rpc_methods[] = {
+static rpc_export_t sctp_rpc_methods[] = {
{"sctp.options", core_sctp_options, core_sctp_options_doc,
0},
{"sctp.info", core_sctpinfo, core_sctpinfo_doc, 0},
@@ -165,7 +165,7 @@ static rpc_export_t scp_rpc_methods[] = {
int sctp_register_rpc(void)
{
- if (rpc_register_array(scp_rpc_methods)!=0)
+ if (rpc_register_array(sctp_rpc_methods)!=0)
{
LM_ERR("failed to register RPC commands\n");
return -1;