Custom Object Variables

Marc Powell marc at ena.com
Wed Nov 18 17:13:27 CET 2009


On Nov 18, 2009, at 7:47 AM, Marcel wrote:

> YES!
> 
> On Tue, Nov 17, 2009 at 7:25 PM, Marc Powell <marc at ena.com> wrote:

> > Instead of the documentation saying that it is case insensitive, it only works on TOUPPER variable name representation.
> 
> Did this come from your _ip_private_VIP_1 troubleshooting? That was it?
> 

Yup. I see it in the code now. xdata/xodtemplate.c ~4840 --

    /* convert varname to all uppercase (saves CPU time during macro functions) */
    for(x=0;new_customvariablesmember->variable_name[x]!='\x0';x++)
        new_customvariablesmember->variable_name[x]=toupper(new_customvariablesmember->variable_name[x]);

Submitted documentation patch to clarify that.

--
Marc
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list