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

Incorrect error message in mongoc_topology_scanner_ismaster_handler()

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 1.3.5
    • Component/s: libmongoc
    • Labels:
      None

      The ternary statement on this line looks incorrect:

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

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

              Created:
              Updated:
              Resolved: