mirror of https://github.com/yandex/odyssey.git
odissey: fix error string
This commit is contained in:
parent
123e79d9a2
commit
4cf68eab05
|
@ -170,8 +170,7 @@ void od_router(void *arg)
|
|||
case OD_RS_ECLIENT_WRITE:
|
||||
if (status == OD_RS_OK)
|
||||
od_log(&pooler->od->log, client->io,
|
||||
"C: disconnected: %s",
|
||||
machine_error(client->io));
|
||||
"C: disconnected");
|
||||
else
|
||||
od_log(&pooler->od->log, client->io,
|
||||
"C: disconnected (read/write error): %s",
|
||||
|
|
|
@ -209,8 +209,8 @@ od_tlsbe_connect(machine_t machine,
|
|||
od_debug(log, io, "%s (tls): supported", prefix);
|
||||
rc = machine_set_tls(io, tls);
|
||||
if (rc == -1) {
|
||||
od_error(log, io, "%s (tls): %s", prefix,
|
||||
machine_error(machine));
|
||||
od_error(log, io, "%s (tls): error: %s", prefix,
|
||||
machine_error(io));
|
||||
return -1;
|
||||
}
|
||||
od_debug(log, io, "%s (tls): ok", prefix);
|
||||
|
@ -231,5 +231,6 @@ od_tlsbe_connect(machine_t machine,
|
|||
prefix);
|
||||
return -1;
|
||||
}
|
||||
(void)machine;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue