summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
dd6746d)
(get_transport): Initialize the transport with transport_init (should have
already been doing this). Set connect_retries and retry_sleep to the
hard-coded settings from 3.1.3.
t->type = T_TYPE;
t->socketpath = T_SOCK;
t->hostname = T_HOST;
t->port = T_PORT;
t->type = T_TYPE;
t->socketpath = T_SOCK;
t->hostname = T_HOST;
t->port = T_PORT;
+ /* In 3.1.3, these were the hard-coded settings. */
+ t->connect_retries = 3;
+ t->retry_sleep = 1;
if ((status = transport_setup(t, 0)) != EX_OK) {
warnx("non-fatal: transport_setup");
if ((status = transport_setup(t, 0)) != EX_OK) {
warnx("non-fatal: transport_setup");