summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-19 17:22:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-19 17:22:43 +0000
commitbadadc427a99e5483402c21bf5b7ae64722930e9 (patch)
treea0eb3f187458c32d8ca06dd78dce355e0166a2c2 /src/users.cpp
parent315b9f6fd9ccbd3a916dc206e2275c46b46da626 (diff)
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
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp6
1 files changed, 3 insertions, 3 deletions
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)
{