summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-07-25 20:37:31 +0200
committerthlo <smarttv640@gmail.com>2013-07-25 20:37:31 +0200
commitfc96324fc266bef30027332d47f34dd09a2f3b66 (patch)
treefa0c0a115b560eabc7d1bde50432261b3bc1717a /log.c
parent66d5e7f95f2f1c3c51bd73f86466a8bd2f16fbc7 (diff)
downloadvdr-plugin-smarttvweb-fc96324fc266bef30027332d47f34dd09a2f3b66.tar.gz
vdr-plugin-smarttvweb-fc96324fc266bef30027332d47f34dd09a2f3b66.tar.bz2
Allow HTTP access to Video Dir. LocalTime fix. Adding Timers. Cleanups. Update is isServing to prevent shutdown.
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index 685bce3..9c0b93a 100644
--- a/log.c
+++ b/log.c
@@ -44,7 +44,7 @@ Log* Log::getInstance() {
int Log::init(string fileName) {
char timebuf[128];
time_t now = time(NULL);
- strftime(timebuf, sizeof(timebuf), "%a, %d %b %Y %H:%M:%S GMT", gmtime(&now));
+ strftime(timebuf, sizeof(timebuf), "%a, %d %b %Y %H:%M:%S GMT", localtime(&now));
if (fileName != "") {
mLogFile = new ofstream();