diff options
author | Ben Pfaff <blp@nicira.com> | 2009-11-20 15:40:11 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2009-11-20 15:40:11 -0800 |
commit | 6bf4c631ae776f4e936b5f01efe4bfbe190f5d99 (patch) | |
tree | 2971d407e63878b6f4989ad47c38f44d6dcaca08 /ovsdb/column.c | |
parent | 55213fd581a13f5f6af61db6002ab6e6cc284546 (diff) | |
download | openvswitch-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.c | 16 |
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 |