From b206b16cb3775d83e072a60449050752b0dfe7ab Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Tue, 20 Feb 2001 04:40:49 +0000 Subject: Fix a small problem where tree.c was using the creation time to display, rather than modification time. Creation time is not returned by the SMB protocol. (This used to be commit d7f3793a2be56acb4a7bc293912d7dc19b96f511) --- source3/client/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/client/tree.c b/source3/client/tree.c index 2f0afbbd46..5c2ced5e02 100644 --- a/source3/client/tree.c +++ b/source3/client/tree.c @@ -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, -- cgit