void
wordlistCat(const wordlist * w, MemBuf * mb)
{
- while (NULL != w) {
+ while (nullptr != w) {
mb->appendf("%s\n", w->key);
w = w->next;
}
ToSBufList(wordlist *wl)
{
SBufList rv;
- while (wl != NULL) {
+ while (wl != nullptr) {
rv.push_back(SBuf(wl->key));
wl = wl->next;
}