mirror of
https://github.com/znc/znc.git
synced 2026-05-01 19:12:31 +02:00
Use nullptr (#816)
Changes applied by 'clang-modernize -use-nullptr [...]'
This commit is contained in:
@@ -29,7 +29,7 @@ bool CDebug::debug =
|
||||
|
||||
CDebugStream::~CDebugStream() {
|
||||
timeval tTime;
|
||||
gettimeofday(&tTime, NULL);
|
||||
gettimeofday(&tTime, nullptr);
|
||||
time_t tSec = (time_t)tTime.tv_sec; // some systems (e.g. openbsd) define tv_sec as long int instead of time_t
|
||||
tm tM;
|
||||
tzset();// localtime_r requires this
|
||||
|
||||
Reference in New Issue
Block a user