Skip to content

Commit

Permalink
Fix also Buffer.cpp to use struct timeval
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthGandalf committed Aug 19, 2012
1 parent b77e697 commit d3840bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Buffer.cpp
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit d3840bb

Please sign in to comment.