1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

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 d7f3793a2b)
This commit is contained in:
Richard Sharpe
2001-02-20 04:40:49 +00:00
parent b5ad6a0a0b
commit b206b16cb3

View 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,