From badadc427a99e5483402c21bf5b7ae64722930e9 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 19 May 2007 17:22:43 +0000 Subject: Visual studio's ability to translate tabs to four spaces as default frustrates and peplexes tabnazi cat. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7047 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index e79d27c8b..2cec79a95 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -476,7 +476,7 @@ int userrec::ReadData(void* buffer, size_t size) #ifndef WIN32 return read(this->fd, buffer, size); #else - return recv(this->fd, (char*)buffer, size, 0); + return recv(this->fd, (char*)buffer, size, 0); #endif } else @@ -719,9 +719,9 @@ void userrec::FlushWriteBuf() { int old_sendq_length = sendq.length(); #ifndef WIN32 - int n_sent = write(this->fd, this->sendq.data(), this->sendq.length()); + int n_sent = write(this->fd, this->sendq.data(), this->sendq.length()); #else - int n_sent = send(this->fd, (const char*)this->sendq.data(), this->sendq.length(), 0); + int n_sent = send(this->fd, (const char*)this->sendq.data(), this->sendq.length(), 0); #endif if (n_sent == -1) { -- cgit v1.3.1-10-gc9f91