diff options
author | thlo <smarttv640@gmail.com> | 2013-07-25 20:37:31 +0200 |
---|---|---|
committer | thlo <smarttv640@gmail.com> | 2013-07-25 20:37:31 +0200 |
commit | fc96324fc266bef30027332d47f34dd09a2f3b66 (patch) | |
tree | fa0c0a115b560eabc7d1bde50432261b3bc1717a /log.c | |
parent | 66d5e7f95f2f1c3c51bd73f86466a8bd2f16fbc7 (diff) | |
download | vdr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |