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

version» Context lines:

pike.git/src/modules/_Roxen/roxen.c:47:    ptrdiff_t left;    int slash_n, spc;   };      /*! @decl array(string|mapping) feed(string data)    */   static void f_hp_feed( INT32 args )   {    struct pike_string *str = Pike_sp[-1].u.string;    struct header_buf *hp = THP; -  int tot_slash_n=hp->slash_n, slash_n = 0, spc = hp->spc, cnt, num; +  int tot_slash_n=hp->slash_n, slash_n = 0, spc = hp->spc;    char *pp,*ep;    struct svalue *tmp;    struct mapping *headers;    ptrdiff_t os=0, i, j, l;    unsigned char *in;       if( Pike_sp[-1].type != PIKE_T_STRING )    Pike_error("Wrong type of argument to feed()\n");       if( str->len >= hp->left )