diff options
Diffstat (limited to 'protocols/MSN/src/msn_msgsplit.cpp')
-rw-r--r-- | protocols/MSN/src/msn_msgsplit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MSN/src/msn_msgsplit.cpp b/protocols/MSN/src/msn_msgsplit.cpp index 3668065c50..2e61ffbd11 100644 --- a/protocols/MSN/src/msn_msgsplit.cpp +++ b/protocols/MSN/src/msn_msgsplit.cpp @@ -25,7 +25,7 @@ chunkedmsg::chunkedmsg(const char* tid, const size_t totsz, const bool tbychunk) : size(totsz), recvsz(0), bychunk(tbychunk)
{
id = mir_strdup(tid);
- msg = tbychunk ? NULL : (char*)mir_alloc(totsz + 1);
+ msg = tbychunk ? nullptr : (char*)mir_alloc(totsz + 1);
}
chunkedmsg::~chunkedmsg()
@@ -61,7 +61,7 @@ bool chunkedmsg::get(char*& tmsg, size_t& tsize) msg[recvsz] = 0;
tmsg = msg;
tsize = recvsz;
- msg = NULL;
+ msg = nullptr;
}
return alldata;
|