[sr-dev] git:4.3:7a07d574: ctl: remove return statement from void function
Daniel-Constantin Mierla
miconda at gmail.com
Tue Jul 5 12:06:16 CEST 2016
Module: kamailio
Branch: 4.3
Commit: 7a07d5740b9da5827841890ba35811de575e2f84
URL: https://github.com/kamailio/kamailio/commit/7a07d5740b9da5827841890ba35811de575e2f84
Author: Spencer Thomason <spencer at whiteskycommunications.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-07-05T12:02:44+02:00
ctl: remove return statement from void function
(cherry picked from commit 16e6bdf814576e26a5f5f46bdfcb98ab1fd4e04d)
(cherry picked from commit c5d8095c7fa548a7199a03bf1f5d69d56202568a)
---
Modified: modules/ctl/binrpc_run.c
---
Diff: https://github.com/kamailio/kamailio/commit/7a07d5740b9da5827841890ba35811de575e2f84.diff
Patch: https://github.com/kamailio/kamailio/commit/7a07d5740b9da5827841890ba35811de575e2f84.patch
---
diff --git a/modules/ctl/binrpc_run.c b/modules/ctl/binrpc_run.c
index 2355a50..598fad0 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