Eduard Bareev <eduard <at> bareev.ru> writes:

> 
cut
>

Hi Eduard,

just enumerate envp array like this:

static string penv(const char * const * envp)
{
    string retValue = "<PRE>\n";
    for ( ; *envp; ++envp)
    {
        retValue += *envp;
                retValue += "\n";
    }
    retValue += "</PRE>\n";
        return retValue;
}

string environmentData = penv(request.envp);


With best regards,
Pavel Korshikov
http://www.itreport.eu


_______________________________________________
help-cgicc mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cgicc

Reply via email to