mirror of https://github.com/xzeldon/htop.git
Remove duplicate test for NUL
Fixes #308, thanks @qarmin (Rafał Mikrut)
This commit is contained in:
parent
9e976b899b
commit
da2dcf9505
|
@ -573,7 +573,7 @@ static void LinuxProcessList_readOpenVZData(LinuxProcess* process, const char* d
|
||||||
|
|
||||||
char* value_end = name_value_sep;
|
char* value_end = name_value_sep;
|
||||||
|
|
||||||
while(*value_end != '\0' && *value_end > 32) {
|
while(*value_end > 32) {
|
||||||
value_end++;
|
value_end++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue