[render_old] print time stamp of the old tile

This commit is contained in:
Kai Krueger
2012-01-15 03:00:59 +00:00
parent 68c2dcbcde
commit f4ea5dc0c0

View File

@ -173,11 +173,15 @@ int process(int fd, const char *name)
{
char xmlconfig[XMLCONFIG_MAX];
int x, y, z;
struct stat b;
if (stat(name, &b))
return 1;
if (path_to_xyz(name, xmlconfig, &x, &y, &z))
return 1;
printf("Requesting xml(%s) x(%d) y(%d) z(%d)\n", xmlconfig, x, y, z);
printf("Requesting xml(%s) x(%d) y(%d) z(%d) as last modified at %s\n", xmlconfig, x, y, z, ctime(&b.st_mtime));
return process_loop(fd, xmlconfig, x, y, z);
}