From 0e5b6a84eb1ab156437d24c2fc1cb61249b008d4 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 6 Oct 2005 05:08:00 +0000 Subject: [PATCH] without braces, what will hold up the code? svn:r5209 --- src/or/config.c | 2 +- src/or/connection_or.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/or/config.c b/src/or/config.c index 02fe7e4caf..aaaf4a3f5a 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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; diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 9db1459ef7..6d3fad21d0 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -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; }