diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-08-10 14:52:43 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2021-08-10 15:00:42 -0400 |
commit | 614b189f7a13b8099b2198f6ca9ae5917e5c79f1 (patch) | |
tree | c61c509ad3b66514c1cb1d982bac927d0de85b62 | |
parent | ee6b737b651e45b1926e7d343d977480014fdc07 (diff) |
lua rockaux.c filetol fix invalid conditional
Change-Id: Id31d3d8b571540394373a61ed213380c95a0eee2
-rw-r--r-- | apps/plugins/lua/rockaux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/rockaux.c b/apps/plugins/lua/rockaux.c index 929dea798b..c4af2b3e96 100644 --- a/apps/plugins/lua/rockaux.c +++ b/apps/plugins/lua/rockaux.c @@ -257,7 +257,7 @@ int filetol(int fd, long *num) { case '-': { - if (retn) /* 0 preceeds, this negative sign must be in error */ + if (retn > 0) /* 0 preceeds, this negative sign must be in error */ goto get_digits; neg = true; continue; |