aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-08-16 00:29:27 +0200
committerSebastian Hahn <sebastian@torproject.org>2010-08-16 00:46:44 +0200
commit561ca9b987e093755603f1cce8f7d783c7b3006e (patch)
tree986bcf1fab60a67173acf883cd0a59f647af6473 /src/or/connection_edge.c
parenta64e660f0e146d8530da74d74bc9c196e6ac21fe (diff)
downloadtor-561ca9b987e093755603f1cce8f7d783c7b3006e.tar.gz
tor-561ca9b987e093755603f1cce8f7d783c7b3006e.zip
Fix misplaced labels
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index e83028faef..64f3429930 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2050,7 +2050,7 @@ get_unique_stream_id_by_circ(origin_circuit_t *circ)
streamid_t test_stream_id;
uint32_t attempts=0;
-again:
+ again:
test_stream_id = circ->next_stream_id++;
if (++attempts > 1<<16) {
/* Make sure we don't loop forever if all stream_id's are used. */
@@ -2988,7 +2988,7 @@ parse_extended_hostname(char *address, int allowdotexit)
if (rend_valid_service_id(query)) {
return ONION_HOSTNAME; /* success */
}
-failed:
+ failed:
/* otherwise, return to previous state and return 0 */
*s = '.';
return BAD_HOSTNAME;