From b4b1728b6f673c398205d078c4935166ab31eb0c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Aug 2012 09:09:15 +0200 Subject: DatabasePrint: don't print Last-Modified if unknown --- src/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index 0856589b0..7bb49447d 100644 --- a/src/command.c +++ b/src/command.c @@ -119,7 +119,8 @@ print_spl_list(struct client *client, GPtrArray *list) client_printf(client, "playlist: %s\n", playlist->name); - time_print(client, "Last-Modified", playlist->mtime); + if (playlist->mtime > 0) + time_print(client, "Last-Modified", playlist->mtime); } } -- cgit v1.2.3