Alexander Amelkin
956ae2b372
Finalize refactoring of string comparisons
...
Unify the comparison idioms use.
Always use `if(!strcmp())` for "if string equals"
and `if(strcmp())` for "if string is not equal".
Never use `== 0` and `!= 0` with `strcmp()`.
Minor reformatting of the code immediately surrounding the
refactored lines.
Resolves ipmitool/ipmitool#104
Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
2020-06-10 13:46:57 +03:00
..
2020-05-25 18:50:16 +03:00
2020-06-10 13:46:57 +03:00
2016-04-11 17:18:40 +02:00
2018-08-21 17:30:25 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2018-08-21 17:30:25 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2018-08-21 17:30:25 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2018-11-11 14:55:43 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2018-11-07 18:50:10 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2020-06-10 13:46:57 +03:00
2018-08-21 17:30:25 +03:00
2019-06-18 16:43:41 +03:00