mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-04 18:37:08 +03:00
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…
x
Reference in New Issue
Block a user