[or-cvs] without braces, what will hold up the code?
arma at seul.org
arma at seul.org
Thu Oct 6 05:08:02 UTC 2005
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
config.c connection_or.c
Log Message:
without braces, what will hold up the code?
Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.430
retrieving revision 1.431
diff -u -d -r1.430 -r1.431
--- config.c 6 Oct 2005 04:33:40 -0000 1.430
+++ config.c 6 Oct 2005 05:08:00 -0000 1.431
@@ -36,7 +36,7 @@
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;
Index: connection_or.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_or.c,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- connection_or.c 6 Oct 2005 04:33:40 -0000 1.188
+++ connection_or.c 6 Oct 2005 05:08:00 -0000 1.189
@@ -379,7 +379,7 @@
{
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;
}
More information about the tor-commits
mailing list