Hannes Magnusson <notifications@github.com> wrote:

> >  		add_assoc_string(return_value, "server",
> cursor->connection->hash, 1);
> > +
> > +		mongo_server_split_hash(cursor->connection->hash, &host, &port,
> NULL, NULL, NULL, NULL, NULL);
> > +		add_assoc_string(return_value, "host", host, 1);
> > +		free(host);
> > +		add_assoc_long(return_value, "port", port);
> > +		add_assoc_string(return_value, "connection_type_desc",
> mongo_connection_type(cursor->connection->connection_type), 1);
> 
> How is this related to the bug report? o.O

I explained that in my commit message. I do write those for a reason :-)