add missing parentheses
[openssl.git] / crypto / bio / bss_conn.c
index fd20bbcd0f445cd8fd4d352d717bae25c59a8c11..0c41b1b5a95b0c1f902ebc8542c82a21611b7a61 100644 (file)
@@ -469,7 +469,7 @@ static long conn_ctrl(BIO *b, int cmd, long num, void *ptr)
                break;
        case BIO_C_DO_STATE_MACHINE:
                /* use this one to start the connection */
                break;
        case BIO_C_DO_STATE_MACHINE:
                /* use this one to start the connection */
-               if (!data->state != BIO_CONN_S_OK)
+               if (!(data->state != BIO_CONN_S_OK))
                        ret=(long)conn_state(b,data);
                else
                        ret=1;
                        ret=(long)conn_state(b,data);
                else
                        ret=1;