small cleanup. no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36093 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4c5da317dc
commit
bf77538c1d
@ -214,7 +214,7 @@ print_string(const u_int8_t* buf, int len)
|
||||
if (!isprint(buf[i]) && buf[i] != '\0')
|
||||
break;
|
||||
if (isspace(buf[i]))
|
||||
hasspc++;
|
||||
hasspc++;
|
||||
}
|
||||
if (i == len) {
|
||||
if (hasspc || len == 0 || buf[0] == '\0')
|
||||
|
Loading…
Reference in New Issue
Block a user