Lines 2449-2455
void bip_on_event(bip_t *bip, connection_t *conn)
Link Here
|
2449 |
if (err) { |
2449 |
if (err) { |
2450 |
if (TYPE(lc) == IRC_TYPE_SERVER) { |
2450 |
if (TYPE(lc) == IRC_TYPE_SERVER) { |
2451 |
mylog(LOG_ERROR, "[%s] read_lines error, closing...", |
2451 |
mylog(LOG_ERROR, "[%s] read_lines error, closing...", |
2452 |
LINK(lc)->name); |
2452 |
LINK(lc) ? LINK(lc)->name : "?"); |
2453 |
irc_server_shutdown(LINK(lc)->l_server); |
2453 |
irc_server_shutdown(LINK(lc)->l_server); |
2454 |
} else { |
2454 |
} else { |
2455 |
mylog(LOG_ERROR, "client read_lines error, closing..."); |
2455 |
mylog(LOG_ERROR, "client read_lines error, closing..."); |
Lines 2471-2477
void bip_on_event(bip_t *bip, connection_t *conn)
Link Here
|
2471 |
line = irc_line_new_from_string(line_s); |
2471 |
line = irc_line_new_from_string(line_s); |
2472 |
if (!line) { |
2472 |
if (!line) { |
2473 |
mylog(LOG_ERROR, "[%s] Error in protocol, closing...", |
2473 |
mylog(LOG_ERROR, "[%s] Error in protocol, closing...", |
2474 |
LINK(lc)->name); |
2474 |
LINK(lc) ? LINK(lc)->name : "?"); |
2475 |
free(line_s); |
2475 |
free(line_s); |
2476 |
goto prot_err_lines; |
2476 |
goto prot_err_lines; |
2477 |
} |
2477 |
} |
Lines 2481-2487
void bip_on_event(bip_t *bip, connection_t *conn)
Link Here
|
2481 |
free(line_s); |
2481 |
free(line_s); |
2482 |
if (r == ERR_PROTOCOL) { |
2482 |
if (r == ERR_PROTOCOL) { |
2483 |
mylog(LOG_ERROR, "[%s] Error in protocol, closing...", |
2483 |
mylog(LOG_ERROR, "[%s] Error in protocol, closing...", |
2484 |
LINK(lc)->name); |
2484 |
LINK(lc) ? LINK(lc)->name : "?"); |
2485 |
goto prot_err_lines; |
2485 |
goto prot_err_lines; |
2486 |
} |
2486 |
} |
2487 |
if (r == ERR_AUTH) |
2487 |
if (r == ERR_AUTH) |
2488 |
- |
|
|