Search'n'replace remaining NULL occurrences (#816)

This commit is contained in:
J-P Nurmi
2015-02-26 20:58:01 +01:00
parent 832cec45f8
commit 75b210e841
46 changed files with 237 additions and 237 deletions
+4 -4
View File
@@ -50,7 +50,7 @@ class CModPerl: public CModule {
PerlInterpreter *m_pPerl;
public:
MODCONSTRUCTOR(CModPerl) {
m_pPerl = NULL;
m_pPerl = nullptr;
}
#define PSTART dSP; I32 ax; int ret = 0; ENTER; SAVETMPS; PUSHMARK(SP)
@@ -69,7 +69,7 @@ public:
int argc = 6;
char *pArgv[] = {"", "-T", "-w",
"-I", const_cast<char*>(sTmp.c_str()),
const_cast<char*>(sModPath.c_str()), NULL};
const_cast<char*>(sModPath.c_str()), nullptr};
char **argv = pArgv;
char *** const pEnviron =
#if defined(__APPLE__) && defined(__MACH__)
@@ -87,7 +87,7 @@ public:
}
perl_free(m_pPerl);
PERL_SYS_TERM();
m_pPerl = NULL;
m_pPerl = nullptr;
DEBUG(__PRETTY_FUNCTION__ << " can't init perl");
return false;
}
@@ -319,7 +319,7 @@ void CPerlSocket::ReadLine(const CString& sLine) {
}
Csock* CPerlSocket::GetSockObj(const CString& sHost, unsigned short uPort) {
CPerlModule* pMod = AsPerlModule(GetModule());
Csock* result = NULL;
Csock* result = nullptr;
if (pMod) {
SOCKSTART;
PUSH_STR("_Accepted");