liblog: logprint: printable nul

Change-Id: I57d1f86ce040ad196c558bb72ac0464af793c214
This commit is contained in:
Mark Salyzyn 2015-09-08 07:57:27 -07:00
parent 2d159bf3b5
commit faa92e9915
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ WEAK ssize_t utf8_character_length(const char *src, size_t len)
uint32_t utf32;
if ((first_char & 0x80) == 0) { /* ASCII */
return 1;
return first_char ? 1 : -1;
}
/*