From 8b5bfdd922961d627ea47c3c5ba2efea4aa7d64c Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Wed, 27 May 2009 18:05:34 +0200 Subject: [PATCH] Compile fix. --- autotest/test_inf.tcc | 2 +- autotest/test_usermanager.tcc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; });