projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3f2d5b
)
initialize chanuser->flags on create
author
pk910
<philipp@zoelle1.de>
Thu, 11 Aug 2011 22:12:57 +0000
(
00:12
+0200)
committer
pk910
<philipp@zoelle1.de>
Thu, 11 Aug 2011 22:12:57 +0000
(
00:12
+0200)
ChanUser.c
patch
|
blob
|
history
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;