ext/libcouchbase/src/instance.cc in libcouchbase-0.0.9 vs ext/libcouchbase/src/instance.cc in libcouchbase-0.1.0
- old
+ new
@@ -127,10 +127,10 @@
return spec.is_explicit_dnssrv() ? LCB_EINVAL : LCB_SUCCESS;
}
const Spechost& host = spec.hosts().front();
lcb_error_t rc = LCB_ERROR;
- Hostlist* hl = lcb_dnssrv_getbslist(host.hostname.c_str(), host.isSSL(), &rc);
+ Hostlist* hl = dnssrv_getbslist(host.hostname.c_str(), host.isSSL(), rc);
if (hl == NULL) {
lcb_log(LOGARGS(this, INFO), "DNS SRV lookup failed: %s. Ignore this if not relying on DNS SRV records", lcb_strerror(this, rc));
if (spec.is_explicit_dnssrv()) {
return rc;