diff options
Diffstat (limited to 'plugins/YAMN/src/proto/netlib.h')
-rw-r--r-- | plugins/YAMN/src/proto/netlib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/YAMN/src/proto/netlib.h b/plugins/YAMN/src/proto/netlib.h index de41a6ad04..fd00ed6b84 100644 --- a/plugins/YAMN/src/proto/netlib.h +++ b/plugins/YAMN/src/proto/netlib.h @@ -4,14 +4,14 @@ class CNLClient: public CNetClient
{
public:
- CNLClient(): hConnection(NULL) {}
- void Connect(const char* servername,const int port) throw(DWORD);
+ CNLClient(): hConnection(nullptr) {}
+ void Connect(const char* servername, const int port) throw(DWORD);
void Send(const char *query) throw(DWORD);
- char* Recv(char *buf=NULL,int buflen=65536) throw(DWORD);
+ char* Recv(char *buf= nullptr, int buflen = 65536) throw(DWORD);
void Disconnect();
void SSLify()throw(DWORD);
- inline BOOL Connected() {return hConnection!=NULL;}
+ inline BOOL Connected() {return hConnection != nullptr;}
protected:
HNETLIBCONN hConnection;
|