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

version» Context lines:

pike.git/src/modules/_Roxen/roxen.c:97:    struct svalue *tmp;    struct mapping *headers;    ptrdiff_t os=0, i, j, l;    unsigned char *in;       if( !( args == 1 || args == 2 ) )    Pike_error("Bad number of arguments to feed().\n");    if( TYPEOF(Pike_sp[-args]) != PIKE_T_STRING )    Pike_error("Wrong type of argument to feed()\n");    if( args == 2 ) +  {    if( TYPEOF(Pike_sp[-args+1]) == PIKE_T_INT )    lower_case = Pike_sp[-args+1].u.integer;    else    Pike_error("Wrong type of argument to feed()\n"); -  +  }    if( str->size_shift )    Pike_error("Wide string headers not supported\n");    str_len = str->len;    while( str_len >= hp->left )    {    unsigned char *buf;    if( hp->hsize > 512 * 1024 )    Pike_error("Too many headers\n");    hp->hsize += 8192;    buf = hp->headers;