diff options
author | Richard Sharpe <sharpe@samba.org> | 2001-02-20 04:40:49 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2001-02-20 04:40:49 +0000 |
commit | b206b16cb3775d83e072a60449050752b0dfe7ab (patch) | |
tree | 253d3085dbcbe7c299f1fa92f6ac1c440db99fcb | |
parent | b5ad6a0a0b9a856e981b8bc46ba38fbc16a8d54c (diff) | |
download | samba-b206b16cb3775d83e072a60449050752b0dfe7ab.tar.gz samba-b206b16cb3775d83e072a60449050752b0dfe7ab.tar.bz2 samba-b206b16cb3775d83e072a60449050752b0dfe7ab.zip |
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)
-rw-r--r-- | source3/client/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |