Project

General

Profile

Bug #10317 » 0001-generator.c-use-space_before-during-generation.patch

mmacvicar (Michael Mac-Vicar), 10/02/2014 02:34 PM

View differences:

ext/json/generator/generator.c
} else {
state->object_delim2 = fbuffer_alloc(16);
}
if (state->space_before) fbuffer_append(state->object_delim2, state->space_before, state->space_before_len);
fbuffer_append_char(state->object_delim2, ':');
if (state->space) fbuffer_append(state->object_delim2, state->space, state->space_len);
(2-2/2)