You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1996/02/18 22:19:04 UTC
Re: cookie death in 1.1b0
>
> Anyone make sense of this......
>
Try changing the ++i to i++. That should do it.
> In http_protocol.c we have....
>
> for (i = 0; i < hdrs_arr->nelts; ++i) {
> if (!hdrs[i].key) continue;
> fprintf (fd, "%s: %s\015\012", hdrs[i].key, hdrs[i].val);
> }
>
> for (i = 0; i < err_hdrs_arr->nelts; ++i) {
> if (!err_hdrs[i].key) continue;
> fprintf (fd, "%s: %s\015\012", err_hdrs[i].key, err_hdrs[i].val);
> }
>
> -=-=-=-=
>
> Maybe the "if"s need to be replaced with
>
> if (!hdrs[i].key || !!hdrs[i].val) continue;
> and
> if (!err_hdrs[i].key || !err_hdrs[i].val) continue;
>
>
> Just to be safe?
>
>
>
> rob