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

```diff
- if (!bestname[0])
+ if (bestname[0] == '\0')
```

```diff
- if (dest[0] == 0)
+ if (dest[0] == '\0')
```
13 files changed:
alias.c
compose.c
config/long.c
email/parse.c
handler.c
index.c
init.c
keymap.c
mutt/string.c
ncrypt/gnupgparse.c
notmuch/mutt_notmuch.c
pattern.c
recvattach.c