ovsdb: Rename variable to better describe its purpose.
authorBen Pfaff <blp@nicira.com>
Fri, 20 Nov 2009 23:40:11 +0000 (15:40 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 20 Nov 2009 23:40:11 +0000 (15:40 -0800)
Apparently a cut-and-paste error gave this variable a deceptive name.

ovsdb/column.c

index fc21cdc981deb4876bf772d7c2daa280a4d52402..dc93dc71b7fdcb9b6bdf187c15b8b6480ea8e165 100644 (file)
@@ -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