pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:2210:    struct decode_error_struct *dec =    (struct decode_error_struct *) (o->storage + decode_error_offset);    struct generic_error_struct *gen =    (struct generic_error_struct *) get_storage (o, generic_error_program);       ASSERT_THREAD_SWAPPED_IN();       copy_shared_string (dec->decode_string, data->data_str);       if (decoding) { -  push_constant_text ("Error while decoding "); n++; -  push_constant_text ("%O"); +  push_text ("Error while decoding "); n++; +  push_text ("%O");    push_svalue (decoding);    f_sprintf (2); n++; -  push_constant_text (":\n"); n++; +  push_text (":\n"); n++;    }    else { -  push_constant_text ("Decode error: "); n++; +  push_text ("Decode error: "); n++;    }       init_string_builder (&sb, 0);    va_start (args, msg);    string_builder_vsprintf (&sb, msg, args);    va_end (args);    push_string (finish_string_builder (&sb)); n++;       f_add (n);    gen->error_message = (--Pike_sp)->u.string;