Explicit checks for return values of strcmp().
authormarkus schnalke <meillo@marmaro.de>
Thu, 5 Jan 2012 18:18:12 +0000 (19:18 +0100)
committermarkus schnalke <meillo@marmaro.de>
Thu, 5 Jan 2012 18:18:12 +0000 (19:18 +0100)
commitd3ba09a465cb0e5fc9a74d0b152a7ed965f895cb
tree51a7c0f4f2957f3747d7ec00f4a9bfe0e5eb8baf
parentb0b1dd37ff515578cf7cba51625189eb34a196cb
Explicit checks for return values of strcmp().
The return value of strcmp() is unintuitive for string equality tests.
I prefer explicit comparisions against 0. I changed this everywhere.
33 files changed:
h/fmt_scan.h
sbr/context_replace.c
sbr/crawl_folders.c
sbr/folder_read.c
sbr/m_convert.c
sbr/m_getfld.c
sbr/mf.c
sbr/mts.c
sbr/norm_charmap.c
sbr/ruserpass.c
sbr/seq_add.c
sbr/seq_del.c
sbr/seq_getnum.c
sbr/seq_list.c
sbr/seq_read.c
sbr/showfile.c
uip/aliasbr.c
uip/conflict.c
uip/dropsbr.c
uip/flist.c
uip/folder.c
uip/ftpsbr.c
uip/mhbuild.c
uip/mhbuildsbr.c
uip/mhmisc.c
uip/mhparse.c
uip/mhshow.c
uip/mhshowsbr.c
uip/mhstoresbr.c
uip/rmf.c
uip/show.c
uip/slocal.c
uip/whatnowsbr.c