[Asterisk-code-review] app_voicemail: Refactor email generation functions (asterisk[master])
Sean Bright
asteriskteam at digium.com
Mon Nov 1 14:54:58 CDT 2021
Attention is currently required from: N A, Joshua Colp, Stanislav Abramenkov, George Joseph.
Sean Bright has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/16665 )
Change subject: app_voicemail: Refactor email generation functions
......................................................................
Patch Set 3:
(1 comment)
File include/asterisk/utils.h:
https://gerrit.asterisk.org/c/asterisk/+/16665/comment/b40da2de_6db23cca
PS3, Line 198: #define SENDMAIL "/usr/sbin/sendmail -t"
: #define ENDL "\n"
> SENDMAIL I feel should stay in utils.h since utils does not use SENDMAIL at all internally. It is solely used by modules including the header file.
SENDMAIL/ENDL may be useful to the two modules you are working on but they are not useful to 99% of the code that includes utils.h, so there is no sense in littering the global namespace with them. You do not need either of them to use any of the functions in utils.h - including the two you are adding there.
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16665
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I1de0ed3483623e9599711129edc817c45ad237ee
Gerrit-Change-Number: 16665
Gerrit-PatchSet: 3
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-CC: Stanislav Abramenkov <stas.abramenkov at gmail.com>
Gerrit-Attention: N A <mail at interlinked.x10host.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Stanislav Abramenkov <stas.abramenkov at gmail.com>
Gerrit-Attention: George Joseph <gjoseph at digium.com>
Gerrit-Comment-Date: Mon, 01 Nov 2021 19:54:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sean Bright <sean at seanbright.com>
Comment-In-Reply-To: N A <mail at interlinked.x10host.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211101/178288e6/attachment.html>
More information about the asterisk-code-review
mailing list