summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-10-31 20:39:01 +0100
committerBenny Baumann <BenBE@geshi.org>2020-11-02 22:14:26 +0100
commit0a51eae11fdd741c295d7b0390c6d9dbf04468d8 (patch)
tree0857af69d544bab1995fb0209191e79559a7df25 /htop.c
parent1877325329b282ce59d8d6733b3728913cb2c6b2 (diff)
Spacing after keywords (while)
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/htop.c b/htop.c
index e02f388a..f5c35929 100644
--- a/htop.c
+++ b/htop.c
@@ -190,7 +190,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
flags.pidMatchList = Hashtable_new(8, false);
}
- while(pid) {
+ while (pid) {
unsigned int num_pid = atoi(pid);
// deepcode ignore CastIntegerToAddress: we just want a non-NUll pointer here
Hashtable_put(flags.pidMatchList, num_pid, (void *) 1);
@@ -218,7 +218,7 @@ static void millisleep(unsigned long millisec) {
.tv_sec = 0,
.tv_nsec = millisec * 1000000L
};
- while(nanosleep(&req,&req)==-1) {
+ while (nanosleep(&req,&req)==-1) {
continue;
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy