Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix also Buffer.cpp to use struct timeval

  • Loading branch information...
commit d3840bba19b20ac686e26ade86e63e318d94b9c4 1 parent b77e697
@DarthGandalf DarthGandalf authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Buffer.cpp
View
4 src/Buffer.cpp
@@ -11,7 +11,7 @@
#include <znc/Client.h>
#include <znc/User.h>
-CBufLine::CBufLine(const CString& sFormat, const CString& sText, const timeval* ts) {
+CBufLine::CBufLine(const CString& sFormat, const CString& sText, const struct 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 timeval* ts) {
+CBuffer::size_type CBuffer::AddLine(const CString& sFormat, const CString& sText, const struct timeval* ts) {
if (!m_uLineCount) {
return 0;
}
Please sign in to comment.
Something went wrong with that request. Please try again.