From eefef05214d3a5e1bbb27aa51eb4ea343972e760 Mon Sep 17 00:00:00 2001 From: pk910 Date: Fri, 4 Jan 2013 22:15:15 +0100 Subject: [PATCH] fixed another NULL pointer crash in the same function (see previous commit) --- src/mod-hostserv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod-hostserv.c b/src/mod-hostserv.c index 291fac2..3643fce 100644 --- a/src/mod-hostserv.c +++ b/src/mod-hostserv.c @@ -359,7 +359,7 @@ static void hs_activate_assignment(struct hs_user *user, struct hs_assignment *a assignment->active = 1; } - apply_fakehost(assignment->user->hi, NULL); + apply_fakehost(user->hi, NULL); } static struct hs_assignment *hs_add_assignment(struct hs_secondlevel *slfh, struct hs_user *user) { -- 2.20.1