Branch: Tag:

2019-07-22

2019-07-22 11:59:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

encode_value: Fixed compilation issue --with-debug.

180:      static void encode_value2(struct svalue *val, struct encode_data *data, int force_encode);    - #ifdef PIKE_DEBUG + #ifdef ENCODE_DEBUG   static void debug_dump_mem(size_t offset, const unsigned char *bytes,    size_t len)   {
1984:    if(data->ptr >= data->len)    Pike_error("Not enough data in string.\n");    - #ifdef PIKE_DEBUG + #ifdef ENCODE_DEBUG    if (data->debug >= 6) {    debug_dump_mem(data->ptr, data->data + data->ptr, 1);    }