[Asterisk-code-review] stasis/app.c: Optimize stasis app get debug by name() (asterisk[13])

Corey Farrell asteriskteam at digium.com
Mon Nov 6 11:58:50 CST 2017


Corey Farrell has posted comments on this change. ( https://gerrit.asterisk.org/7016 )

Change subject: stasis/app.c: Optimize stasis_app_get_debug_by_name()
......................................................................


Patch Set 1: Code-Review-1

(1 comment)

https://gerrit.asterisk.org/#/c/7016/1/res/stasis/app.c
File res/stasis/app.c:

https://gerrit.asterisk.org/#/c/7016/1/res/stasis/app.c@885
PS1, Line 885: 			if (app->debug) {
             : 				debug_enabled = 1;
             : 			}
Why not just set 'debug_enabled = app->debug;'?



-- 
To view, visit https://gerrit.asterisk.org/7016
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: I5f78b7bd6ca7fd2c3b07cbbe036c6a93b4681123
Gerrit-Change-Number: 7016
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Comment-Date: Mon, 06 Nov 2017 17:58:50 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171106/e0703c32/attachment.html>


More information about the asterisk-code-review mailing list