Compile fix.

This commit is contained in:
Jan Vidar Krey 2009-05-27 18:05:34 +02:00
parent 860310caff
commit 8b5bfdd922
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
});