dinhvh / libetpan

Mail Framework for C Language
www.etpan.org
Other
613 stars 284 forks source link

Fix always is false. #349

Closed raniervf closed 3 years ago

raniervf commented 4 years ago

The expression or part of expression is always false.

raniervf commented 4 years ago

The part of expression is always false: && (r != MAILIMF_ERROR_PARSE Consider the case when variable r is equal to MAILIMF_ERROR_PARSE. r would be different = to MAILIMF_NO_ERROR? Yes. r would it be different from MAILIMF_ERROR_PARSE? Not. Then the test would fail when it is MAILIMF_ERROR_PARSE.