From 57cd630dc7527f6a6d5d3d32153d650c35864be7 Mon Sep 17 00:00:00 2001 From: gabime Date: Mon, 27 Jan 2014 13:07:17 +0200 Subject: [PATCH] fix --- include/c11log/sinks/file_sinks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/c11log/sinks/file_sinks.h b/include/c11log/sinks/file_sinks.h index d1a140be..95331dd6 100644 --- a/include/c11log/sinks/file_sinks.h +++ b/include/c11log/sinks/file_sinks.h @@ -152,7 +152,7 @@ private: std::tm tm = c11log::details::os::localtime(); char buf[32]; sprintf(buf, ".%d-%02d-%02d.", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday); - return basename+buf; + return basename+buf+extension; } std::string _base_filename;