diff --git a/autotest/test_inf.tcc b/autotest/test_inf.tcc index 50b87fa..9e70cb9 100644 --- a/autotest/test_inf.tcc +++ b/autotest/test_inf.tcc @@ -42,7 +42,7 @@ static void inf_create_user() if (inf_user) return; inf_user = (struct user*) hub_malloc_zero(sizeof(struct user)); inf_user->id.sid = 1; - inf_user->sd = -1; + inf_user->net.sd = -1; inf_user->limits.upload_slots = 1; } diff --git a/autotest/test_usermanager.tcc b/autotest/test_usermanager.tcc index a767aed..0df202d 100644 --- a/autotest/test_usermanager.tcc +++ b/autotest/test_usermanager.tcc @@ -13,7 +13,7 @@ EXO_TEST(um_test_setup, { { memset(&um_user[i], 0, sizeof(struct user)); um_user[i].id.sid = i+1; - um_user[i].sd = -1; + um_user[i].net.sd = -1; } return 1; });