mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
without braces, what will hold up the code?
svn:r5209
This commit is contained in:
parent
ba24193ab5
commit
0e5b6a84eb
@ -36,7 +36,7 @@ typedef enum config_type_t {
|
||||
CONFIG_TYPE_OBSOLETE, /**< Obsolete (ignored) option. */
|
||||
} config_type_t;
|
||||
|
||||
/** An abbreviation for a configuration option allowed on the command line */
|
||||
/** An abbreviation for a configuration option allowed on the command line. */
|
||||
typedef struct config_abbrev_t {
|
||||
const char *abbreviated;
|
||||
const char *full;
|
||||
|
@ -379,7 +379,7 @@ connection_tls_start_handshake(connection_t *conn, int receiving)
|
||||
{
|
||||
conn->state = OR_CONN_STATE_HANDSHAKING;
|
||||
conn->tls = tor_tls_new(conn->s, receiving, 0);
|
||||
if (!conn->tls)
|
||||
if (!conn->tls) {
|
||||
log_fn(LOG_WARN,"tor_tls_new failed. Closing.");
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user