[sr-dev] git:master:16e6bdf8: ctl: remove return statement from void function

Spencer Thomason spencer at whiteskycommunications.com
Mon Jul 4 09:45:20 CEST 2016


Module: kamailio
Branch: master
Commit: 16e6bdf814576e26a5f5f46bdfcb98ab1fd4e04d
URL: https://github.com/kamailio/kamailio/commit/16e6bdf814576e26a5f5f46bdfcb98ab1fd4e04d

Author: Spencer Thomason <spencer at whiteskycommunications.com>
Committer: Spencer Thomason <spencer at whiteskycommunications.com>
Date: 2016-07-01T07:33:42-07:00

ctl: remove return statement from void function

---

Modified: modules/ctl/binrpc_run.c

---

Diff:  https://github.com/kamailio/kamailio/commit/16e6bdf814576e26a5f5f46bdfcb98ab1fd4e04d.diff
Patch: https://github.com/kamailio/kamailio/commit/16e6bdf814576e26a5f5f46bdfcb98ab1fd4e04d.patch

---

diff --git a/modules/ctl/binrpc_run.c b/modules/ctl/binrpc_run.c
index 3b9153e..5bdd869 100644
--- a/modules/ctl/binrpc_run.c
+++ b/modules/ctl/binrpc_run.c
@@ -486,7 +486,7 @@ static void rpc_fault(struct binrpc_ctx* ctx, int code, char* fmt, ...)
 	va_end(ap);
 
 	len++; /* vnsprintf doesn't include the terminating 0 */
-	return _rpc_fault(ctx, code, buf, len);
+	_rpc_fault(ctx, code, buf, len);
 }
 
 /* Prepare the error reply without sending out the message */




More information about the sr-dev mailing list