projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a8cc77
)
addUserMask should return a user - not NULL
author
pk910
<philipp@zoelle1.de>
Thu, 11 Aug 2011 20:47:21 +0000
(22:47 +0200)
committer
pk910
<philipp@zoelle1.de>
Thu, 11 Aug 2011 20:47:21 +0000
(22:47 +0200)
UserNode.c
patch
|
blob
|
history
diff --git
a/UserNode.c
b/UserNode.c
index 7c06d545cd16957fc35cfae802a082e538cbb01c..89f32360da719bf66e75541a597a6d715157ffee 100644
(file)
--- a/
UserNode.c
+++ b/
UserNode.c
@@
-134,7
+134,7
@@
struct UserNode* addUserMask(const char *mask) {
strcpy(user->host, &cmask[ii]);
}
}
- return
NULL
;
+ return
user
;
}
int renameUser(struct UserNode* user, const char *new_nick) {