From 6bf4c631ae776f4e936b5f01efe4bfbe190f5d99 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 20 Nov 2009 15:40:11 -0800 Subject: [PATCH] ovsdb: Rename variable to better describe its purpose. Apparently a cut-and-paste error gave this variable a deceptive name. --- ovsdb/column.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ovsdb/column.c b/ovsdb/column.c index fc21cdc9..dc93dc71 100644 --- a/ovsdb/column.c +++ b/ovsdb/column.c @@ -31,16 +31,16 @@ ovsdb_column_create(const char *name, const char *comment, bool mutable, bool persistent, const struct ovsdb_type *type) { - struct ovsdb_column *ts; + struct ovsdb_column *column; - ts = xzalloc(sizeof *ts); - ts->name = xstrdup(name); - ts->comment = comment ? xstrdup(comment) : NULL; - ts->mutable = mutable; - ts->persistent = persistent; - ts->type = *type; + column = xzalloc(sizeof *column); + column->name = xstrdup(name); + column->comment = comment ? xstrdup(comment) : NULL; + column->mutable = mutable; + column->persistent = persistent; + column->type = *type; - return ts; + return column; } void -- 2.30.2