mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
Merge pull request #75 from attilamolnar/master+nullcharfix
Fix sending null char after ERROR when the server is full
This commit is contained in:
commit
070d8da8eb
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();
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue