]> granicus.if.org Git - neomutt/commit
Test string contents against NUL (!=)
authorRichard Russon <rich@flatcap.org>
Sat, 9 Mar 2019 14:09:18 +0000 (14:09 +0000)
committerRichard Russon <rich@flatcap.org>
Sat, 9 Mar 2019 14:43:25 +0000 (14:43 +0000)
commit3205d0912e285d843c54fd0bafdd241187727b68
tree5130d1dcdb2aabb89d7bd9e0c25e78d77cbcd955
parent4ba439a0a3e2d20dd02dadb509745f50395f152f
Test string contents against NUL (!=)

```diff
- while (*buf)
+ while (*buf != '\0')
```

```diff
- if (bestname[0] != 0)
+ if (bestname[0] != '\0')
```
13 files changed:
alias.c
curs_lib.c
email/parse.c
init.c
mutt/date.c
mutt/file.c
mutt/mbyte.c
mutt/string.c
ncrypt/crypt_gpgme.c
nntp/nntp.c
pager.c
query.c
rfc1524.c