aboutsummaryrefslogtreecommitdiffstats
path: root/src/modbuslog.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-03-13 02:17:37 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-03-13 02:20:20 +0000
commite798ee1ac24fd5f2f272360be28faef4cf39f079 (patch)
tree12aa2ea9c6cb0073a87bcc26a27e1a134baccb89 /src/modbuslog.c
parentbb2ff32e5a548e650c6aa86a7d1e57f7cb6ab34b (diff)
downloadverteco-e798ee1ac24fd5f2f272360be28faef4cf39f079.tar.gz
modbuslog: fix logic typov1.3
break != continue Introduced in 1cac28534c332d771bfd7a1a216bdaacbfe27fd1
Diffstat (limited to '')
-rw-r--r--src/modbuslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modbuslog.c b/src/modbuslog.c
index 281b23b..9ef6f49 100644
--- a/src/modbuslog.c
+++ b/src/modbuslog.c
@@ -230,7 +230,7 @@ int main(int argc, char *argv[]) {
LOG_ERR,
"Skipping read from slaveid=[%i], registertype=[%i], startaddress=[%i], numregisters=[%i]",
slaveid, registertype, startaddress, numregisters);
- break;
+ continue;
}
int retry = 0;