Fix a small problem where tree.c was using the creation time to display, rather than...
[kai/samba.git] / source3 / client / tree.c
index 2f0afbbd460d1254eb362ccd2076a93b132b7cc8..5c2ced5e02b57fc6f4468befabf34ea819e7bed4 100644 (file)
@@ -280,7 +280,7 @@ static void cb_select_child (GtkWidget *root_tree, GtkWidget *child,
                     (st1.st_mode&S_IXOTH?'x':'-'),
                     st1.st_mode); 
            snprintf(col3, sizeof(col3), "%u", st1.st_size);
-           snprintf(col4, sizeof(col4), "%s", ctime(&st1.st_ctime));
+           snprintf(col4, sizeof(col4), "%s", ctime(&st1.st_mtime));
          }
        }
 
@@ -604,7 +604,7 @@ auth_fn(const char *server, const char *share,
 }
 
 static char *col_titles[] = {
-  "Name", "Attributes", "Size", "Creation Date",
+  "Name", "Attributes", "Size", "Modification Date",
 };
 
 int main( int   argc,