summaryrefslogtreecommitdiff
path: root/libparse/parse.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2015-07-01 03:12:13 +0000
committerCy Schubert <cy@FreeBSD.org>2015-07-01 03:12:13 +0000
commit873997f35a991eee09ed91148a0cf332360380da (patch)
tree5b1ffa3ad0e56e0e9f2991011729791ee86d7632 /libparse/parse.c
parent4ba32eb5a8bf3455c09d1513ed2af8d2c861a6ba (diff)
Notes
Diffstat (limited to 'libparse/parse.c')
-rw-r--r--libparse/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libparse/parse.c b/libparse/parse.c
index 9e663f911f74..64167f152029 100644
--- a/libparse/parse.c
+++ b/libparse/parse.c
@@ -697,14 +697,14 @@ timepacket(
{
case CVT_FAIL:
parseio->parse_badformat++;
- break;
+ return cvtrtc;
case CVT_NONE:
/*
* too bad - pretend bad format
*/
parseio->parse_badformat++;
- break;
+ return CVT_NONE;
case CVT_OK:
break;