[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] whitespace fixes
commit e8814816c752846d72cf9a55c6f785f3c483e3e2
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Thu Apr 30 13:38:39 2015 -0400
whitespace fixes
---
src/or/control.c | 8 +++-----
src/or/rendclient.c | 6 +++---
src/or/rendcommon.c | 7 ++++---
3 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/src/or/control.c b/src/or/control.c
index 4578f2d..950e989 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.
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 834759c..d0c4b87 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -780,7 +780,7 @@ fetch_v2_desc_by_descid(const char *desc_id, const rend_data_t *rend_query,
/* Everything went well. */
ret = 0;
-end:
+ end:
return ret;
}
@@ -847,7 +847,7 @@ fetch_v2_desc_by_addr(rend_data_t *query, smartlist_t *hsdirs)
"we already tried them all unsuccessfully.");
ret = 0;
-end:
+ end:
memwipe(descriptor_id, 0, sizeof(descriptor_id));
return ret;
}
@@ -877,7 +877,7 @@ rend_client_fetch_v2_desc(rend_data_t *query, smartlist_t *hsdirs)
goto error;
}
-error:
+ error:
return ret;
}
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 5fe00da..9384220 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -934,7 +934,7 @@ rend_valid_descriptor_id(const char *query)
return 1;
-invalid:
+ invalid:
return 0;
}
@@ -1429,7 +1429,7 @@ compute_desc_id(rend_data_t *rend_data)
}
}
-end:
+ end:
return ret;
}
@@ -1498,7 +1498,8 @@ rend_data_client_create(const char *onion_address, const char *desc_id,
return rend_data;
-error:
+ error:
rend_data_free(rend_data);
return NULL;
}
+
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits