format
This commit is contained in:
parent
49598cfda3
commit
71cfd1d0e5
@ -34,7 +34,8 @@ void error_printf(struct error_buffer *eb, const char *format, ...) {
|
|||||||
|
|
||||||
if (write_size < space) {
|
if (write_size < space) {
|
||||||
eb->text_len += write_size;
|
eb->text_len += write_size;
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
eb->text_len = MAX_ERROR_MESSAGE_LENGTH;
|
eb->text_len = MAX_ERROR_MESSAGE_LENGTH;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user