Module: kamailio
Branch: master
Commit: 73d8d719497d596ab42cf37e94c8ea4a412f2141
URL:
https://github.com/kamailio/kamailio/commit/73d8d719497d596ab42cf37e94c8ea4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-05-06T09:43:35+02:00
Merge pull request #150 from mslehto/patch-2
sctp: fix typo scp_register_rpc -> sctp_register_rpc
---
Modified: modules/sctp/sctp_rpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/73d8d719497d596ab42cf37e94c8ea4…
Patch:
https://github.com/kamailio/kamailio/commit/73d8d719497d596ab42cf37e94c8ea4…
---
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;