[CDRIVER-1405] Incorrect error message in mongoc_topology_scanner_ismaster_handler() Created: 19/Jul/16  Updated: 19/Oct/16  Resolved: 10/Oct/16

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.3.5
Fix Version/s: 1.5.0

Type: Bug Priority: Major - P3
Reporter: Jeremy Mikola Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to PHPC-750 Unexpected connection error calling i... Closed

 Description   

The ternary statement on this line looks incorrect:

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



 Comments   
Comment by A. Jesse Jiryu Davis [ 10/Oct/16 ]

https://github.com/ajdavis/mongo-c-driver/commit/46684e9d

Generated at Wed Feb 07 21:12:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.