projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
877df41
)
*push*
author
pk910
<philipp@zoelle1.de>
Wed, 10 Aug 2011 00:08:24 +0000
(
02:08
+0200)
committer
pk910
<philipp@zoelle1.de>
Wed, 10 Aug 2011 00:08:24 +0000
(
02:08
+0200)
ClientSocket.c
patch
|
blob
|
history
UserNode.c
patch
|
blob
|
history
diff --git
a/ClientSocket.c
b/ClientSocket.c
index c77f67f1cbdfa55c0ffb145cc5b007fda048ee58..34b9d4f2acd8fff4bd2e9696be532808007066b9 100644
(file)
--- a/
ClientSocket.c
+++ b/
ClientSocket.c
@@
-108,6
+108,7
@@
int close_socket(struct ClientSocket *client) {
free(client->host);
free(client->pass);
free(client);
+ return 1;
}
int write_socket(struct ClientSocket *client, char* msg, int len) {
diff --git
a/UserNode.c
b/UserNode.c
index 4484790001ec280a3e69a2c4571366dd1bcf9d39..21a7c81655648b5843e1e7a5930df9a21f8afa00 100644
(file)
--- a/
UserNode.c
+++ b/
UserNode.c
@@
-87,6
+87,7
@@
struct UserNode* addUser(const char *nick) {
user->channel = NULL;
user->next = userList[userListIndex];
userList[userListIndex] = user;
+ return user;
}
int renameUser(struct UserNode* user, const char *new_nick) {