]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
processes: update code style
authorBart De Vos <bart-de-vos@telenet.be>
Fri, 30 Aug 2019 07:29:10 +0000 (09:29 +0200)
committerBart De Vos <bart-de-vos@telenet.be>
Fri, 30 Aug 2019 07:29:10 +0000 (09:29 +0200)
src/processes.c

index d7e3f2190b411d0d74db457cf05d3257d38bda04..12beee903447e6244f7dc54ba2a6a9d884847c24 100644 (file)
@@ -1457,7 +1457,7 @@ static int procs_running(void) {
   running += strlen(id);
 
   result = strtol(running, &endptr, 10);
-  if ( (*running != '\0') && ((*endptr == '\0') || (*endptr == '\n')) ) {
+  if ((*running != '\0') && ((*endptr == '\0') || (*endptr == '\n'))) {
     return (int)result;
   }