pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:355:    case T_PROGRAM:    tmp=data->counter;    data->counter.u.integer++;    decode_value2(data);    switch(what & T_MASK)    {    case T_OBJECT: APPLY_MASTER("objectof", 1); break;    case T_FUNCTION: APPLY_MASTER("functionof", 1); break;    case T_PROGRAM: APPLY_MASTER("programof", 1); break;    } -  if(sp[-1].type != (what & T_MASK)) -  error("Failed to restore string. (master() failed)\n"); +     break;       default:    error("Failed to restore string. (Illegal type)\n");    }       mapping_insert(data->decoded, & tmp, sp-1);   }