Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.2.9
Description
mariadb-10.2.9/libmariadb/plugins/pvio/pvio_socket.c:817]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
|
Source code is
while ((gai_rc= getaddrinfo(cinfo->host, server_port, |
&hints, &res) == EAI_AGAIN))
|
Maybe better code
while ((gai_rc= getaddrinfo(cinfo->host, server_port, |
&hints, &res)) == EAI_AGAIN)
|