Fix #1
This commit is contained in:
parent
d19acb74ec
commit
82c2006ff9
1 changed files with 2 additions and 2 deletions
|
|
@ -684,8 +684,8 @@ dprintf(2, "ERROR REALLOC _msg : %s", strerror(errno));
|
|||
strncpy(fmt->_msg + suff_off, fmt->suffix,
|
||||
fmt->buflen[1]);
|
||||
//TODO check errors
|
||||
fmt->_msg[suff_off+fmt->buflen[1]] = '\n';
|
||||
fmt->_msg[suff_off+fmt->buflen[1]+1] = '\0';
|
||||
fmt->_msg[suff_off+fmt->buflen[1]-1] = '\n';
|
||||
fmt->_msg[suff_off+fmt->buflen[1]] = '\0';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue