From ee8f0b09589c3a4d75435c12cb9b2d271b3a865f Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Wed, 22 Aug 2012 23:39:30 +0700 Subject: [PATCH] Fix fred's build. --- src/Buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 047e85af..2d55f01a 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -26,7 +26,7 @@ void CBufLine::UpdateTime() { if (0 == gettimeofday(&m_time, NULL)) { return; } - time(&m_time.tv_sec); + m_time.tv_sec = time(NULL); m_time.tv_usec = 0; }