mirror of
https://github.com/znc/znc.git
synced 2026-05-03 03:52:33 +02:00
Revert "Fix also Buffer.cpp to use struct timeval"
This reverts commit d3840bba19.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include <znc/Client.h>
|
||||
#include <znc/User.h>
|
||||
|
||||
CBufLine::CBufLine(const CString& sFormat, const CString& sText, const struct timeval* ts) {
|
||||
CBufLine::CBufLine(const CString& sFormat, const CString& sText, const timeval* ts) {
|
||||
m_sFormat = sFormat;
|
||||
m_sText = sText;
|
||||
if (ts == NULL)
|
||||
@@ -54,7 +54,7 @@ CBuffer::CBuffer(unsigned int uLineCount) {
|
||||
|
||||
CBuffer::~CBuffer() {}
|
||||
|
||||
CBuffer::size_type CBuffer::AddLine(const CString& sFormat, const CString& sText, const struct timeval* ts) {
|
||||
CBuffer::size_type CBuffer::AddLine(const CString& sFormat, const CString& sText, const timeval* ts) {
|
||||
if (!m_uLineCount) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user