[exim-dev] [Bug 2205] New: exim-4.89.1/src/host.c: 2 * bad d…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: admin
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 2205] New: exim-4.89.1/src/host.c: 2 * bad debug statements ?
https://bugs.exim.org/show_bug.cgi?id=2205

            Bug ID: 2205
           Summary: exim-4.89.1/src/host.c: 2 * bad debug statements ?
           Product: Exim
           Version: 4.89
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
          Assignee: nigel@???
          Reporter: dcb314@???
                CC: exim-dev@???


1.

exim-4.89.1/src/host.c:2612]: (style) Boolean result is used in bitwise
operation. Clarify expression with parentheses.

  DEBUG(D_dns)
    if ((dnssec_request || dnssec_require)
    & !dns_is_secure(&dnsa)
    & dns_is_aa(&dnsa))


maybe better code

  DEBUG(D_dns)
    if ((dnssec_request || dnssec_require)
    && !dns_is_secure(&dnsa)
    && dns_is_aa(&dnsa))


2.

exim-4.89.1/src/host.c:2664]: (style) Boolean result is used in bitwise
operation. Clarify expression with parentheses.

Duplicate.

--
You are receiving this mail because:
You are on the CC list for the bug.