diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-04-30 13:38:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-04-30 13:38:39 -0400 |
commit | e8814816c752846d72cf9a55c6f785f3c483e3e2 (patch) | |
tree | fbc8ffa58907fefeb20da9d206698b1c220a740a /src/or/control.c | |
parent | e9308a8341dd7b14720412b2b38b5809e79e3735 (diff) | |
download | tor-e8814816c752846d72cf9a55c6f785f3c483e3e2.tar.gz tor-e8814816c752846d72cf9a55c6f785f3c483e3e2.zip |
whitespace fixes
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/or/control.c b/src/or/control.c index 4578f2d95e..950e9891e0 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -3414,13 +3414,13 @@ handle_control_hsfetch(control_connection_t *conn, uint32_t len, * always send a fetch command. */ rend_client_fetch_v2_desc(rend_query, hsdirs); -done: + done: SMARTLIST_FOREACH(args, char *, cp, tor_free(cp)); smartlist_free(args); /* Contains data pointer that we don't own thus no cleanup. */ smartlist_free(hsdirs); rend_data_free(rend_query); -exit: + exit: return 0; } @@ -5753,7 +5753,6 @@ node_describe_longname_by_id,(const char *id_digest)) return longname; } - /** Return either the onion address if the given pointer is a non empty * string else the unknown string. */ static const char * @@ -5773,11 +5772,10 @@ rend_hsaddress_str_or_unknown(const char *onion_address) /* All checks are good so return the given onion address. */ str_ret = onion_address; -end: + end: return str_ret; } - /** send HS_DESC requested event. * * <b>rend_query</b> is used to fetch requested onion address and auth type. |