[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: only use strings by reference in notification macro usage

git at icinga.org git at icinga.org
Tue Aug 23 19:00:10 CEST 2011


Module: icinga-core
Branch: mfriedrich/core
Commit: 39da58044862cc3358429e107bde2066a296457a
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=39da58044862cc3358429e107bde2066a296457a

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Aug 23 18:58:39 2011 +0200

only use strings by reference in notification macro usage

this prevents us from copying each string and being responsible
for later cleanup and possible leaks / wrong content of macros
using local copies.

---

 base/notifications.c |  112 ++++++++++++++++++++++----------------------------
 1 files changed, 49 insertions(+), 63 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-core.git;a=commitdiff;h=39da58044862cc3358429e107bde2066a296457a




More information about the icinga-checkins mailing list