X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Funixctl.c;h=e59056ef2a5dc8a3b5066655674c345f75e25fbd;hb=cb22974d773942d66da42b700b8bca0db27a0920;hp=8686de3fb056613541e47c6b122da157ac78b4b7;hpb=4749f73d12c844b318af7f45cf45e1acac9f7c08;p=sliver-openvswitch.git diff --git a/lib/unixctl.c b/lib/unixctl.c index 8686de3fb..e59056ef2 100644 --- a/lib/unixctl.c +++ b/lib/unixctl.c @@ -16,7 +16,6 @@ #include #include "unixctl.h" -#include #include #include #include "coverage.h" @@ -110,7 +109,7 @@ unixctl_command_register(const char *name, const char *usage, struct unixctl_command *command; struct unixctl_command *lookup = shash_find_data(&commands, name); - assert(!lookup || lookup->cb == cb); + ovs_assert(!lookup || lookup->cb == cb); if (lookup) { return; @@ -133,7 +132,7 @@ unixctl_command_reply__(struct unixctl_conn *conn, struct jsonrpc_msg *reply; COVERAGE_INC(unixctl_replied); - assert(conn->request_id); + ovs_assert(conn->request_id); if (!body) { body = "";