diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-10-31 20:39:01 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-11-02 22:14:26 +0100 |
commit | 0a51eae11fdd741c295d7b0390c6d9dbf04468d8 (patch) | |
tree | 0857af69d544bab1995fb0209191e79559a7df25 /htop.c | |
parent | 1877325329b282ce59d8d6733b3728913cb2c6b2 (diff) |
Spacing after keywords (while)
Diffstat (limited to 'htop.c')
-rw-r--r-- | htop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } |