[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] normalize whitespace.
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv20438/src/or
Modified Files:
connection_edge.c router.c
Log Message:
normalize whitespace.
Index: connection_edge.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.386
retrieving revision 1.387
diff -u -p -d -r1.386 -r1.387
--- connection_edge.c 15 Mar 2006 23:36:57 -0000 1.386
+++ connection_edge.c 17 Mar 2006 04:43:37 -0000 1.387
@@ -718,9 +718,11 @@ client_dns_set_addressmap(const char *ad
int ttl)
{
struct in_addr in;
- char extendedaddress[MAX_SOCKS_ADDR_LEN+MAX_HEX_NICKNAME_LEN+10]; /* <address>.<hex or nickname>.exit\0 or just <address>\0 */
+ /* <address>.<hex or nickname>.exit\0 or just <address>\0 */
+ char extendedaddress[MAX_SOCKS_ADDR_LEN+MAX_HEX_NICKNAME_LEN+10];
+ /* 123.123.123.123.<hex or nickname>.exit\0 or just 123.123.123.123\0 */
+ char extendedval[INET_NTOA_BUF_LEN+MAX_HEX_NICKNAME_LEN+10];
char valbuf[INET_NTOA_BUF_LEN];
- char extendedval[INET_NTOA_BUF_LEN+MAX_HEX_NICKNAME_LEN+10]; /* 123.123.123.123.<hex or nickname>.exit\0 or just 123.123.123.123\0 */
tor_assert(address); tor_assert(val);
Index: router.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.253
retrieving revision 1.254
diff -u -p -d -r1.253 -r1.254
--- router.c 15 Mar 2006 05:04:11 -0000 1.253
+++ router.c 17 Mar 2006 04:43:37 -0000 1.254
@@ -244,7 +244,8 @@ init_keys(void)
char keydir[512];
char keydir2[512];
char fingerprint[FINGERPRINT_LEN+1];
- char fingerprint_line[MAX_NICKNAME_LEN+FINGERPRINT_LEN+3]; /*nickname<space>fp\n\0 */
+ /*nickname<space>fp\n\0 */
+ char fingerprint_line[MAX_NICKNAME_LEN+FINGERPRINT_LEN+3];
char *cp;
const char *mydesc, *datadir;
crypto_pk_env_t *prkey;
@@ -1220,7 +1221,6 @@ is_legal_nickname_or_hexdigest(const cha
return is_legal_hexdigest(s);
}
-
/** Return true iff <b>s</b> is a legally valid hex-encoded identity-key
* digest. */
int