mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
normalize whitespace.
svn:r6173
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@
|
||||
#define __func__ "???"
|
||||
#endif
|
||||
#endif /* ifndef MAVE_MACRO__func__ */
|
||||
#endif /* if(not windows) */
|
||||
#endif /* if not windows */
|
||||
|
||||
/* ===== String compatibility */
|
||||
#ifdef MS_WINDOWS
|
||||
|
||||
@@ -718,9 +718,11 @@ client_dns_set_addressmap(const char *address, uint32_t val,
|
||||
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);
|
||||
|
||||
|
||||
+2
-2
@@ -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 char *s)
|
||||
return is_legal_hexdigest(s);
|
||||
}
|
||||
|
||||
|
||||
/** Return true iff <b>s</b> is a legally valid hex-encoded identity-key
|
||||
* digest. */
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user