From: pk910 Date: Fri, 4 Jan 2013 21:15:15 +0000 (+0100) Subject: fixed another NULL pointer crash in the same function (see previous commit) X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=eefef05214d3a5e1bbb27aa51eb4ea343972e760 fixed another NULL pointer crash in the same function (see previous commit) --- 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) {