pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:4324:    if(t<0) decode_error(current_decode, NULL,    "length of program is negative.\n");    if(*l < t) decode_error(current_decode, NULL, "string too short\n");    push_string(make_shared_binary_string(*v, t));    (*l) -= t; (*v) += t;    APPLY_MASTER("programof", 1);    return;       default:    decode_error(current_decode, NULL, "Unknown type tag %ld:%ld\n", -  PTRDIFF_T_TO_LONG(i), PTRDIFF_T_TO_LONG(t)); +  (long)i, (long)t);    }   }      static void restore_current_decode (struct decode_data *old_data)   {    current_decode = old_data;   }      /* Defined in builtin.cmod. */   extern struct program *MasterCodec_program;