Ouch, my bad

Zoran Vasiljevic wrote:
In nslog.c:

    /* Get parameters from configuration file */
    logPtr->rollfmt = Ns_ConfigGetValue(path,"rollfmt");
    if (logPtr->rollfmt == NULL) {
        logPtr->rollfmt = ns_strdup(logPtr->rollfmt);
    }

This is not what the writer wanted, or? I assume it should have been written as:

    /* Get parameters from configuration file */
    logPtr->rollfmt = Ns_ConfigGetValue(path,"rollfmt");
    if (logPtr->rollfmt != NULL) {
        logPtr->rollfmt = ns_strdup(logPtr->rollfmt);
    }

I will fix this in head.

Zoran


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/

Reply via email to