Compile fix.
This commit is contained in:
parent
860310caff
commit
8b5bfdd922
|
@ -42,7 +42,7 @@ static void inf_create_user()
|
||||||
if (inf_user) return;
|
if (inf_user) return;
|
||||||
inf_user = (struct user*) hub_malloc_zero(sizeof(struct user));
|
inf_user = (struct user*) hub_malloc_zero(sizeof(struct user));
|
||||||
inf_user->id.sid = 1;
|
inf_user->id.sid = 1;
|
||||||
inf_user->sd = -1;
|
inf_user->net.sd = -1;
|
||||||
inf_user->limits.upload_slots = 1;
|
inf_user->limits.upload_slots = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ EXO_TEST(um_test_setup, {
|
||||||
{
|
{
|
||||||
memset(&um_user[i], 0, sizeof(struct user));
|
memset(&um_user[i], 0, sizeof(struct user));
|
||||||
um_user[i].id.sid = i+1;
|
um_user[i].id.sid = i+1;
|
||||||
um_user[i].sd = -1;
|
um_user[i].net.sd = -1;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue