summaryrefslogtreecommitdiff
path: root/ovsdb/replication.c
diff options
context:
space:
mode:
Diffstat (limited to 'ovsdb/replication.c')
-rw-r--r--ovsdb/replication.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ovsdb/replication.c b/ovsdb/replication.c
index 3d1bc332c..a267a3a00 100644
--- a/ovsdb/replication.c
+++ b/ovsdb/replication.c
@@ -468,8 +468,8 @@ process_table_update(struct json *table_update, const char *table_name,
struct ovsdb_error *error;
if (table_update->type != JSON_OBJECT) {
- error = ovsdb_error("Not a JSON object",
- "<table-update> for table is not object");
+ return ovsdb_error("Not a JSON object",
+ "<table-update> for table is not object");
}
table = ovsdb_get_table(database, table_name);