summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d546c4)
raw | patch | inline | side by side (parent: 0d546c4)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 08:44:43 +0000 (10:44 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 08:44:43 +0000 (10:44 +0200) |
[src/processes.c:1219]: (style) Checking if unsigned variable 'len' is less than zero.
src/processes.c | patch | blob | history |
diff --git a/src/processes.c b/src/processes.c
index efc64d0125af349a115bdd3c9b2bbcae7f8f30d4..4f2283fc76000e8e69f539b084248d75bf98b22b 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
buf_ptr += status;
len -= status;
- if (len <= 0)
+ if (len == 0)
break;
}