projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a06e8
)
fixed NULL pointer crash when returning to default fakehost
author
pk910
<philipp@zoelle1.de>
Fri, 4 Jan 2013 21:11:20 +0000
(22:11 +0100)
committer
pk910
<philipp@zoelle1.de>
Fri, 4 Jan 2013 21:11:20 +0000
(22:11 +0100)
src/mod-hostserv.c
patch
|
blob
|
history
diff --git
a/src/mod-hostserv.c
b/src/mod-hostserv.c
index 4d16996bfa6d33cd41d85a8908104a5bee100ae6..291fac2dc60d61f3d73f66c9a5e13f344b13e0e4 100644
(file)
--- a/
src/mod-hostserv.c
+++ b/
src/mod-hostserv.c
@@
-342,7
+342,7
@@
static void hs_activate_assignment(struct hs_user *user, struct hs_assignment *a
assert((!assignment || (assignment->user == user)));
if(user->assignments) {
- for(assgn =
assignment->
user->assignments; assgn; assgn = assgn->unext)
+ for(assgn = user->assignments; assgn; assgn = assgn->unext)
assgn->active = 0;
}