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 fc21cdc..dc93dc7 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