Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1405

Incorrect error message in mongoc_topology_scanner_ismaster_handler()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.0
    • 1.3.5
    • libmongoc
    • None

    Description

      The ternary statement on this line looks incorrect:

      message = async_status == MONGOC_ASYNC_CMD_TIMEOUT ? "connection error" : "connection timeout";
      

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: