Fix duplicated if condition in connection.c

Furthermore, fix a test that could returned an uninitialized value.

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet
2016-08-25 14:52:25 -04:00
parent 90bcfa2274
commit 9e1cb3660b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ static int pick_oos_mock_last_n = 0;
static smartlist_t *
pick_oos_victims_mock(int n)
{
smartlist_t *l;
smartlist_t *l = NULL;
int i;
++pick_oos_mock_calls;