DatabasePrint: don't print zero mtime
Zero means "unknown".
This commit is contained in:
parent
4943606f4a
commit
f16db6cd80
|
@ -46,7 +46,9 @@ PrintDirectoryFull(Client &client, const Directory &directory)
|
|||
{
|
||||
if (!directory.IsRoot()) {
|
||||
client_printf(client, "directory: %s\n", directory.GetPath());
|
||||
time_print(client, "Last-Modified", directory.mtime);
|
||||
|
||||
if (directory.mtime > 0)
|
||||
time_print(client, "Last-Modified", directory.mtime);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue