summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
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)
{