projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set log file output as line-buffered
[umurmur.git]
/
src
/
messagehandler.c
diff --git
a/src/messagehandler.c
b/src/messagehandler.c
index c2aa522dae820baed897b61d967f7775bc937619..4b6c39659dc75a75477b2ae8cf53d43c553a8f5b 100644
(file)
--- a/
src/messagehandler.c
+++ b/
src/messagehandler.c
@@
-140,7
+140,7
@@
void Mh_handle_message(client_t *client, message_t *msg)
if (Client_count() >= getIntConf(MAX_CLIENTS)) {
char buf[64];
if (Client_count() >= getIntConf(MAX_CLIENTS)) {
char buf[64];
- s
printf(buf
, "Server is full (max %d users)", getIntConf(MAX_CLIENTS));
+ s
nprintf(buf, 64
, "Server is full (max %d users)", getIntConf(MAX_CLIENTS));
sendServerReject(client, buf, MUMBLE_PROTO__REJECT__REJECT_TYPE__ServerFull);
goto disconnect;
}
sendServerReject(client, buf, MUMBLE_PROTO__REJECT__REJECT_TYPE__ServerFull);
goto disconnect;
}