summaryrefslogtreecommitdiff
path: root/includes/Socket.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2013-01-22 08:29:55 -0800
committerPixel <pixel@nobis-crew.org>2013-01-22 08:29:55 -0800
commitf40de21e5666be6fa456fedc60584bd672d12c44 (patch)
treeb80497de619e661e246725b1cebcd68533d4e237 /includes/Socket.h
parent107d87dc983f34e4ff23a4db188baa650ac51f98 (diff)
Removing some more cruft.
Diffstat (limited to 'includes/Socket.h')
-rw-r--r--includes/Socket.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/includes/Socket.h b/includes/Socket.h
index 7972cb5..00dc2b4 100644
--- a/includes/Socket.h
+++ b/includes/Socket.h
@@ -19,7 +19,6 @@ struct DNSRequest;
class Socket : public Handle {
public:
-
Socket() throw (GeneralException);
virtual void close() throw (GeneralException);
virtual ssize_t read(void * buf, size_t count) throw (GeneralException);
@@ -49,7 +48,7 @@ class Socket : public Handle {
virtual void gotOwner(Task * task);
ev::io m_evt;
- Task * m_task;
+ Task * m_task = NULL;
};
int m_fd;
@@ -77,8 +76,8 @@ class ListenerBase : public StacklessTask {
Events::Async m_evt;
volatile bool m_stop;
String m_local;
- int m_port;
- void * m_opaque;
+ int m_port = 0;
+ void * m_opaque = NULL;
};
template<class Worker>