Improve wording in error message
This commit is contained in:
parent
e6547b8a48
commit
3d732651bc
@ -2481,8 +2481,8 @@ void bip_on_event(bip_t *bip, connection_t *conn)
|
|||||||
|
|
||||||
line = irc_line_new_from_string(line_s);
|
line = irc_line_new_from_string(line_s);
|
||||||
if (!line) {
|
if (!line) {
|
||||||
mylog(LOG_ERROR, "[%s] Error in protocol, closing...",
|
mylog(LOG_ERROR, "[%s] Can not parse line. Link type: %d. "
|
||||||
link_name(lc));
|
"closing...", link_name(lc), TYPE(lc));
|
||||||
free(line_s);
|
free(line_s);
|
||||||
goto prot_err_lines;
|
goto prot_err_lines;
|
||||||
}
|
}
|
||||||
@ -2491,8 +2491,8 @@ void bip_on_event(bip_t *bip, connection_t *conn)
|
|||||||
irc_line_free(line);
|
irc_line_free(line);
|
||||||
free(line_s);
|
free(line_s);
|
||||||
if (r == ERR_PROTOCOL) {
|
if (r == ERR_PROTOCOL) {
|
||||||
mylog(LOG_ERROR, "[%s] Error in protocol, closing...",
|
mylog(LOG_ERROR, "[%s] Error in protocol. Link type: %d closing...",
|
||||||
link_name(lc));
|
link_name(lc), TYPE(lc));
|
||||||
goto prot_err_lines;
|
goto prot_err_lines;
|
||||||
}
|
}
|
||||||
if (r == ERR_AUTH)
|
if (r == ERR_AUTH)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user