aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/pop3/POP3Command.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-06-12 12:02:40 +0000
committerVincent Richard <[email protected]>2013-06-12 12:02:40 +0000
commit7ab35173bce99c6c9a5f189cdd83f93fcb3e9086 (patch)
tree3fb077645ba770932adaa1f629b7c2f0931a6cf0 /src/net/pop3/POP3Command.cpp
parentMoved POP3 client command related things to POP3Command class. (diff)
downloadvmime-7ab35173bce99c6c9a5f189cdd83f93fcb3e9086.tar.gz
vmime-7ab35173bce99c6c9a5f189cdd83f93fcb3e9086.zip
Moved POP3 connection-related things to POP3Connection object.
Diffstat (limited to 'src/net/pop3/POP3Command.cpp')
-rw-r--r--src/net/pop3/POP3Command.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/pop3/POP3Command.cpp b/src/net/pop3/POP3Command.cpp
index 4aef1e08..72909a49 100644
--- a/src/net/pop3/POP3Command.cpp
+++ b/src/net/pop3/POP3Command.cpp
@@ -28,6 +28,7 @@
#include "vmime/net/pop3/POP3Command.hpp"
+#include "vmime/net/pop3/POP3Connection.hpp"
#include "vmime/net/socket.hpp"
@@ -214,9 +215,9 @@ const string POP3Command::getText() const
}
-void POP3Command::writeToSocket(ref <socket> sok)
+void POP3Command::send(ref <POP3Connection> conn)
{
- sok->send(m_text + "\r\n");
+ conn->getSocket()->send(m_text + "\r\n");
}