Roxen.git / server / etc / test / modules / TEST.pmod / http.pmod / WebDAV.pmod / TestUtils.pmod

version» Context lines:

Roxen.git/server/etc/test/modules/TEST.pmod/http.pmod/WebDAV.pmod/TestUtils.pmod:40:    test_true(`==, url_data->conf, conf);    test_true(stringp, url_data->hostname);    test_true(stringp, url_data->path || "/");       Standards.URI url_uri = Standards.URI(url, "http://*/");    Standards.URI base_uri = Standards.URI(    Stdio.append_path(url_data->path || "/",    webdav_mount_point),    url_uri);    base_uri->port = prot->port; -  base_uri->host = prot->ip; +  base_uri->host = prot->ip || "0.0.0.0";       if (username) {    base_uri->user = username;    base_uri->password = password;    }    uris += ({base_uri});    }    }    return uris;   }