ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/s_bsd.c
(Generate patch)

Comparing ircd-hybrid-8/src/s_bsd.c (file contents):
Revision 1243 by michael, Fri Sep 30 10:47:53 2011 UTC vs.
Revision 1302 by michael, Wed Mar 21 17:48:54 2012 UTC

# Line 130 | Line 130 | report_error(int level, const char* text
130    who = (who) ? who : "";
131  
132    sendto_realops_flags(UMODE_DEBUG, level, text, who, strerror(error));
133 <  log_oper_action(LOG_IOERR_TYPE, NULL, "%s %s %s\n", who, text, strerror(error));
134 <  ilog(L_ERROR, text, who, strerror(error));
133 >  ilog(LOG_TYPE_IRCD, text, who, strerror(error));
134   }
135  
136   /*
# Line 247 | Line 246 | close_connection(struct Client *client_p
246    if (client_p->localClient->fd.flags.open)
247      fd_close(&client_p->localClient->fd);
248  
250  if (HasServlink(client_p))
251  {
252    if (client_p->localClient->ctrlfd.flags.open)
253      fd_close(&client_p->localClient->ctrlfd);
254  }
255
249    dbuf_clear(&client_p->localClient->buf_sendq);
250    dbuf_clear(&client_p->localClient->buf_recvq);
251    
# Line 338 | Line 331 | add_connection(struct Listener *listener
331    {
332      if ((new_client->localClient->fd.ssl = SSL_new(ServerInfo.server_ctx)) == NULL)
333      {
334 <      ilog(L_CRIT, "SSL_new() ERROR! -- %s",
334 >      ilog(LOG_TYPE_IRCD, "SSL_new() ERROR! -- %s",
335             ERR_error_string(ERR_get_error(), NULL));
336  
337        SetDead(new_client);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)