[srvx-commits] CVS: services/src chanserv.c,1.161.2.85,1.161.2.86
Brought to you by:
entrope
From: Entrope <en...@us...> - 2001-10-17 01:48:50
|
Update of /cvsroot/srvx/services/src In directory usw-pr-cvs1:/tmp/cvs-serv27453/src Modified Files: Tag: rel-1_0 chanserv.c Log Message: put \n at the end of some log() formats Index: chanserv.c =================================================================== RCS file: /cvsroot/srvx/services/src/chanserv.c,v retrieving revision 1.161.2.85 retrieving revision 1.161.2.86 diff -C2 -r1.161.2.85 -r1.161.2.86 *** chanserv.c 2001/10/17 01:46:26 1.161.2.85 --- chanserv.c 2001/10/17 01:48:47 1.161.2.86 *************** *** 1610,1614 **** RUN FOR THE HILLS! WE'RE OUT OF MEMORY! */ chanserv_notice(user, CSMSG_ALLOCATION_ERROR, "a channel record"); ! log(CS_LOG, LOG_ERROR, "Error allocating memory for a channel."); return 0; } --- 1610,1614 ---- RUN FOR THE HILLS! WE'RE OUT OF MEMORY! */ chanserv_notice(user, CSMSG_ALLOCATION_ERROR, "a channel record"); ! log(CS_LOG, LOG_ERROR, "Error allocating memory for a channel.\n"); return 0; } *************** *** 1617,1621 **** { chanserv_notice(user, CSMSG_ALLOCATION_ERROR, "a user record"); ! log(CS_LOG, LOG_ERROR, "Error allocating memory for a user."); unregister_channel(cData); return 0; --- 1617,1621 ---- { chanserv_notice(user, CSMSG_ALLOCATION_ERROR, "a user record"); ! log(CS_LOG, LOG_ERROR, "Error allocating memory for a user.\n"); unregister_channel(cData); return 0; *************** *** 5773,5777 **** if (!new_chan) { chanserv_notice(trans->owner, CSMSG_ALLOCATION_ERROR, "a channel record"); ! log(CS_LOG, LOG_ERROR, "Error allocating memory for a channel."); return; } --- 5773,5777 ---- if (!new_chan) { chanserv_notice(trans->owner, CSMSG_ALLOCATION_ERROR, "a channel record"); ! log(CS_LOG, LOG_ERROR, "Error allocating memory for a channel.\n"); return; } *************** *** 5779,5783 **** if (!add_channel_user(new_chan, trans->owner->handle_info, levelMap[USER_LEVEL_HIGHEST], USER_LEVEL_HIGHEST, now, NULL)) { chanserv_notice(trans->owner, CSMSG_ALLOCATION_ERROR, "a user record"); ! log(CS_LOG, LOG_ERROR, "Error allocating memory for a user."); unregister_channel(new_chan); return; --- 5779,5783 ---- if (!add_channel_user(new_chan, trans->owner->handle_info, levelMap[USER_LEVEL_HIGHEST], USER_LEVEL_HIGHEST, now, NULL)) { chanserv_notice(trans->owner, CSMSG_ALLOCATION_ERROR, "a user record"); ! log(CS_LOG, LOG_ERROR, "Error allocating memory for a user.\n"); unregister_channel(new_chan); return; |