Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv26894/src
Modified Files:
hash.c
Log Message:
fix typo in comment before heap_pop()
remove unused function timeval_comparator()
Index: hash.c
===================================================================
RCS file: /cvsroot/srvx/services/src/hash.c,v
retrieving revision 1.179
retrieving revision 1.180
diff -C2 -r1.179 -r1.180
*** hash.c 5 Aug 2003 02:22:29 -0000 1.179
--- hash.c 1 Sep 2003 14:44:16 -0000 1.180
***************
*** 137,141 ****
void
ReintroduceUser(struct userNode *user)
! {
unsigned int n;
char modes[MAXLEN];
--- 137,141 ----
void
ReintroduceUser(struct userNode *user)
! {
unsigned int n;
char modes[MAXLEN];
***************
*** 193,197 ****
}
user->timestamp = now;
! if (IsLocal(user) && !no_announce) irc_nick(user, old_nick);
free(old_nick);
}
--- 193,199 ----
}
user->timestamp = now;
! if (IsLocal(user) && !no_announce) {
! irc_nick(user, old_nick);
! }
free(old_nick);
}
***************
*** 221,225 ****
right now.
! P10 Protocol violation if (user->modes & FLAGS_STAMPED here.)
*/
if(account_func)
--- 223,227 ----
right now.
! P10 Protocol violation if (user->modes & FLAGS_STAMPED) here.
*/
if(account_func)
***************
*** 526,530 ****
{
if (!channel->locks) return;
! if (!--channel->locks && !channel->members.used) DelChannel(channel);
}
--- 528,534 ----
{
if (!channel->locks) return;
! if (!--channel->locks && !channel->members.used) {
! DelChannel(channel);
! }
}
***************
*** 535,539 ****
unsigned int n;
! if (reason) irc_part(user, channel, reason);
mNode = GetUserMode(channel, user);
--- 539,545 ----
unsigned int n;
! if (reason) {
! irc_part(user, channel, reason);
! }
mNode = GetUserMode(channel, user);
***************
*** 876,880 ****
} else {
for (n=0; n<tf_used; n++) {
! if (tf_list[n](user, channel, old_topic)) break;
}
}
--- 882,888 ----
} else {
for (n=0; n<tf_used; n++) {
! if (tf_list[n](user, channel, old_topic)) {
! break;
! }
}
}
***************
*** 925,937 ****
userList_clean(&curr_opers);
! if (slf_list) free(slf_list);
! if (nuf_list) free(nuf_list);
! if (ncf2_list) free(ncf2_list);
! if (duf_list) free(duf_list);
! if (ncf_list) free(ncf_list);
! if (jf_list) free(jf_list);
! if (dcf_list) free(dcf_list);
! if (pf_list) free(pf_list);
! if (kf_list) free(kf_list);
! if (tf_list) free(tf_list);
}
--- 933,945 ----
userList_clean(&curr_opers);
! free(slf_list);
! free(nuf_list);
! free(ncf2_list);
! free(duf_list);
! free(ncf_list);
! free(jf_list);
! free(dcf_list);
! free(pf_list);
! free(kf_list);
! free(tf_list);
}
|