pike.git / src / modules / Gz / zlibmod.c

version» Context lines:

pike.git/src/modules/Gz/zlibmod.c:957:    *! defined in @rfc{1950@}.    */   static void gz_uncompress(INT32 args)   {    dynamic_buffer buf;    struct memobj data;    ONERROR err;    int raw = 0;       if(args<1) -  SIMPLE_TOO_FEW_ARGS_ERROR("uncompress", 1); +  SIMPLE_WRONG_NUM_ARGS_ERROR("uncompress", 1);    switch (TYPEOF(Pike_sp[-args]))    {    case PIKE_T_STRING:    {    struct pike_string *s = Pike_sp[-args].u.string;    data.ptr = (unsigned char*)s->str;    data.len = s->len;    data.shift = s->size_shift;    break;    }