diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-19 17:22:43 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-19 17:22:43 +0000 |
commit | badadc427a99e5483402c21bf5b7ae64722930e9 (patch) | |
tree | a0eb3f187458c32d8ca06dd78dce355e0166a2c2 /src/inspsocket.cpp | |
parent | 315b9f6fd9ccbd3a916dc206e2275c46b46da626 (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/inspsocket.cpp')
-rw-r--r-- | src/inspsocket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 43eaec04a..be2d99a62 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -339,8 +339,8 @@ bool InspSocket::DoConnect() int flags = fcntl(this->fd, F_GETFL, 0); fcntl(this->fd, F_SETFL, flags | O_NONBLOCK); #else - unsigned long flags = 0; - ioctlsocket(this->fd, FIONBIO, &flags); + unsigned long flags = 0; + ioctlsocket(this->fd, FIONBIO, &flags); #endif if (connect(this->fd, (sockaddr*)addr, size) == -1) { @@ -525,7 +525,7 @@ bool InspSocket::FlushWriteBuffer() #ifndef WIN32 int result = write(this->fd,outbuffer[0].c_str(),outbuffer[0].length()); #else - int result = send(this->fd,outbuffer[0].c_str(),outbuffer[0].length(), 0); + int result = send(this->fd,outbuffer[0].c_str(),outbuffer[0].length(), 0); #endif if (result > 0) { |