mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
iosource/threading/input/logging: Replace nulls with nullptr
This commit is contained in:
parent
4ee84b69f2
commit
cb01e098df
27 changed files with 154 additions and 156 deletions
|
@ -22,7 +22,7 @@ BasicThread::BasicThread()
|
|||
buf_len = STD_FMT_BUF_LEN;
|
||||
buf = (char*) safe_malloc(buf_len);
|
||||
|
||||
strerr_buffer = 0;
|
||||
strerr_buffer = nullptr;
|
||||
|
||||
name = copy_string(fmt("thread-%" PRIu64, ++thread_counter));
|
||||
|
||||
|
@ -191,5 +191,5 @@ void* BasicThread::launcher(void *arg)
|
|||
|
||||
thread->Done();
|
||||
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue