Fix sending null char after ERROR when the server is full
This commit is contained in:
parent
2a17ae5483
commit
76d82c19ad
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,7 @@ accept_precallback(rb_fde_t *F, struct sockaddr *addr, rb_socklen_t addrlen, voi
|
||||||
last_oper_notice = rb_current_time();
|
last_oper_notice = rb_current_time();
|
||||||
}
|
}
|
||||||
|
|
||||||
rb_write(F, "ERROR :All connections in use\r\n", 32);
|
rb_write(F, "ERROR :All connections in use\r\n", 31);
|
||||||
rb_close(F);
|
rb_close(F);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue