]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Assert there are no unhandled commands in cmdmon
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 7 Apr 2011 16:17:37 +0000 (18:17 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 7 Apr 2011 16:34:47 +0000 (18:34 +0200)
cmdmon.c

index 4aea031f2c41a709779223e537242be91221fca0..04dd7d05930d04477140cde07e2f0d1b0be164ee 100644 (file)
--- a/cmdmon.c
+++ b/cmdmon.c
@@ -2288,7 +2288,7 @@ read_from_cmd_socket(void *anything)
           break;
 
         default:
-          /* Ignore message */
+          assert(0);
           break;
       }
     } else {