0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

Fix sending null char after ERROR when the server is full

This commit is contained in:
Attila Molnar 2014-11-04 21:57:37 +01:00
parent 2a17ae5483
commit 76d82c19ad

View file

@ -531,7 +531,7 @@ accept_precallback(rb_fde_t *F, struct sockaddr *addr, rb_socklen_t addrlen, voi
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);
return 0;
}