summaryrefslogtreecommitdiff
path: root/src/socketengines
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-22 20:27:42 -0500
committerAdam <Adam@anope.org>2012-11-22 20:27:42 -0500
commit0e7bd9f3ba9ff8fe634fcf7d365ea2a984655d83 (patch)
treeb34876afa13c7fc0e2d0a1e585be0f190854731f /src/socketengines
parent796353494062ef45389c196b119f04e6abcd114e (diff)
Fix compile/pch generation
Diffstat (limited to 'src/socketengines')
-rw-r--r--src/socketengines/pipeengine_pipe.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/socketengines/pipeengine_pipe.cpp b/src/socketengines/pipeengine_pipe.cpp
index e15f0274d..b05c50582 100644
--- a/src/socketengines/pipeengine_pipe.cpp
+++ b/src/socketengines/pipeengine_pipe.cpp
@@ -17,7 +17,7 @@
#include <fcntl.h>
#endif
-Pipe::Pipe() : Socket(-1), WritePipe(-1)
+Pipe::Pipe() : Socket(-1), write_pipe(-1)
{
int fds[2];
if (pipe(fds))
@@ -29,17 +29,17 @@ Pipe::Pipe() : Socket(-1), WritePipe(-1)
this->~Pipe();
- this->Sock = fds[0];
- this->WritePipe = fds[1];
+ this->sock = fds[0];
+ this->write_pipe = fds[1];
- SocketEngine::Sockets[this->Sock] = this;
+ SocketEngine::Sockets[this->sock] = this;
SocketEngine::Change(this, true, SF_READABLE);
}
Pipe::~Pipe()
{
- if (this->WritePipe >= 0)
- anope_close(this->WritePipe);
+ if (this->write_pipe >= 0)
+ anope_close(this->write_pipe);
}
bool Pipe::ProcessRead()
@@ -53,6 +53,6 @@ bool Pipe::ProcessRead()
void Pipe::Notify()
{
const char dummy = '*';
- write(this->WritePipe, &dummy, 1);
+ write(this->write_pipe, &dummy, 1);
}