projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
initialize chanuser->flags on create
[NeonServV5.git]
/
ChanUser.c
diff --git
a/ChanUser.c
b/ChanUser.c
index 83324c4342d1f93ee26bc51477807df5f12f703e..9c98d465955247f8b65995e859cdee10d7b34721 100644
(file)
--- a/
ChanUser.c
+++ b/
ChanUser.c
@@
-10,6
+10,7
@@
struct ChanUser* addChanUser(struct ChanNode *chan, struct UserNode *user) {
perror("malloc() failed");
return NULL;
}
+ chanuser->flags = 0;
chanuser->user = user;
chanuser->chan = chan;