apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: cvs commit: apr/strings apr_strings.c
Date Fri, 28 Sep 2001 04:00:36 GMT
On 28 Sep 2001 ianh@apache.org wrote:

>   +    nargs = 0;
>        while ((argp = va_arg(adummy, char *)) != NULL) {
>            len = strlen(argp);

Urm, didnjya mean to remove that last line?

>   +        if (nargs < MAX_SAVED_LENGTHS) {
>   +            len = saved_lengths[nargs++];
>   +        }
>   +        else {
>   +            len = strlen(argp);
>   +        }
>   +
>            memcpy(cp, argp, len);
>            cp += len;
>        }

--Cliff


--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message