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

version» Context lines:

pike.git/src/modules/Gz/zlibmod.c:518:    struct svalue *data_arg;    struct memobj data;    struct byte_buffer buf;    ONERROR err;       int wbits = 15;    int raw = 0;    int level = 8;    int strategy = Z_DEFAULT_STRATEGY;    -  get_all_args("compress", args, "%*.%d%d%d%d", &data_arg, &raw, &level, &strategy, +  get_all_args(NULL, args, "%*.%d%d%d%d", &data_arg, &raw, &level, &strategy,    &wbits);       switch (TYPEOF(*data_arg))    {    case PIKE_T_STRING:    {    struct pike_string *s = data_arg->u.string;    data.ptr = (unsigned char*)s->str;    data.len = s->len;    data.shift = s->size_shift;