Not familiar with this codebase at all, but this looks like a pretty clear typo to me. temp_buffer is used in other functions in this file with two bytes instead of just one. This also fixes a few warnings (on Clang at least) that indicate that we're accessing an out-of-bounds array index (see use of temp_buffer[1] on the very next line.)
Not familiar with this codebase at all, but this looks like a pretty clear typo to me. temp_buffer is used in other functions in this file with two bytes instead of just one. This also fixes a few warnings (on Clang at least) that indicate that we're accessing an out-of-bounds array index (see use of temp_buffer[1] on the very next line.)