pike.git / src / modules / _Roxen / roxen.c

version» Context lines:

pike.git/src/modules/_Roxen/roxen.c:119:    hp->hsize = 0;    hp->left = 0;    hp->spc = hp->slash_n = 0;    hp->pnt = NULL;    Pike_error("Running out of memory in header parser\n");    }    hp->left += 8192;    hp->pnt = (hp->headers + hp->hsize - hp->left);    }    -  MEMCPY( hp->pnt, str->str, str_len ); +  memcpy( hp->pnt, str->str, str_len );    pop_n_elems( args );       /* FIXME: The below does not support lines terminated with just \r. */    for( ep=(hp->pnt+str_len),pp=MAXIMUM(hp->headers,hp->pnt-3);    pp<ep && slash_n<2; pp++ )    if( *pp == ' ' )    {    spc++;    slash_n = 0;    }