summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-21 21:48:55 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-21 21:48:55 +0000
commit7c21dabef12cdce4c5b0d09127ccd55d1aecd733 (patch)
tree2f0ee41df8beea96c4c0ee643d10c78d5b69904a /src
parent6a1746f98f58fd22dce2ce34840b10012b5467dd (diff)
downloadtor-7c21dabef12cdce4c5b0d09127ccd55d1aecd733.tar.gz
tor-7c21dabef12cdce4c5b0d09127ccd55d1aecd733.zip
r8878@Kushana: nickm | 2006-09-21 17:15:47 -0400
Trivial whitespace cleanups. svn:r8443
Diffstat (limited to 'src')
-rw-r--r--src/common/util.c3
-rw-r--r--src/or/config.c2
-rw-r--r--src/or/dns.c3
-rw-r--r--src/or/main.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/common/util.c b/src/common/util.c
index b572c3a745..99ac776dcb 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -207,7 +207,8 @@ _tor_memdup(const void *mem, size_t len DMALLOC_PARAMS)
/** Helper for places that need to take a function pointer to the right
* spelling of "free()". */
void
-_tor_free(void *mem) {
+_tor_free(void *mem)
+{
tor_free(mem);
}
diff --git a/src/or/config.c b/src/or/config.c
index b30de39258..8f3e6dd8cd 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2448,7 +2448,7 @@ options_validate(or_options_t *old_options, or_options_t *options,
#ifndef USE_EVENTDNS
if (options->ServerDNSResolvConfFile)
log(LOG_WARN, LD_CONFIG,
- "ServerDNSResolvConfFile only works when eventdns support is enabled.");
+ "ServerDNSResolvConfFile only works when eventdns support is enabled.");
#endif
if (check_nickname_list(options->ExitNodes, "ExitNodes", msg))
diff --git a/src/or/dns.c b/src/or/dns.c
index 52cbb3daf0..4279c6d09b 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -1522,7 +1522,8 @@ launch_resolve(edge_connection_t *exitconn)
char *addr = tor_strdup(exitconn->_base.address);
struct in_addr in;
int r;
- int options = get_options()->ServerDNSSearchDomains ? 0 : DNS_QUERY_NO_SEARCH;
+ int options = get_options()->ServerDNSSearchDomains ? 0
+ : DNS_QUERY_NO_SEARCH;
/* What? Nameservers not configured? Sounds like a bug. */
if (!nameservers_configured) {
log_warn(LD_EXIT, "Harmless bug: nameservers not configured, but resolve "
diff --git a/src/or/main.c b/src/or/main.c
index c40d466e61..b2fd0359d7 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -936,8 +936,6 @@ run_scheduled_events(time_t now)
crypto_rand_int(12*3600);
}
}
-
-
}
static struct event *timeout_event = NULL;