Skip to content
Snippets Groups Projects
Commit 24451e6f authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Avoid double-typedef of transport_t.

You can say "struct foo_t" as much as you want, but you'd better not
have "typedef struct foo_t foo_t" more than once.

Fix for bug 6416.  Bug not in any released version of Tor.
parent f8c9cc71
No related branches found
No related tags found
No related merge requests found
......@@ -137,9 +137,9 @@ int circuit_build_times_get_bw_scale(networkstatus_t *ns);
/* DOCDOC find_transport_name_by_bridge_addrport */
const char *find_transport_name_by_bridge_addrport(const tor_addr_t *addr,
uint16_t port);
typedef struct transport_t transport_t;
struct transport_t;
int find_transport_by_bridge_addrport(const tor_addr_t *addr, uint16_t port,
const transport_t **transport);
const struct transport_t **transport);
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment