commit bc9ade055e7a256e5d8a5be876806a8dd0bca7af
Author: Nick Mathewson <[email protected]>
Date: Fri Jan 30 14:46:18 2015 -0500
Fix an uninitialized-variable warning.
---
src/or/rendservice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 7028763..28d922a 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -336,7 +336,7 @@ parse_port_config(const char *string)
{
smartlist_t *sl;
int virtport;
- int realport;
+ int realport = 0;
uint16_t p;
tor_addr_t addr;
const char *addrport;
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits