summaryrefslogtreecommitdiff
path: root/ovsdb/column.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-11-20 15:40:11 -0800
committerBen Pfaff <blp@nicira.com>2009-11-20 15:40:11 -0800
commit6bf4c631ae776f4e936b5f01efe4bfbe190f5d99 (patch)
tree2971d407e63878b6f4989ad47c38f44d6dcaca08 /ovsdb/column.c
parent55213fd581a13f5f6af61db6002ab6e6cc284546 (diff)
downloadopenvswitch-6bf4c631ae776f4e936b5f01efe4bfbe190f5d99.tar.gz
ovsdb: Rename variable to better describe its purpose.
Apparently a cut-and-paste error gave this variable a deceptive name.
Diffstat (limited to 'ovsdb/column.c')
-rw-r--r--ovsdb/column.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ovsdb/column.c b/ovsdb/column.c
index fc21cdc98..dc93dc71b 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