[Bug 3610] New: Server sending unnecessary newline with SV_ConSay_F
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Tue Apr 22 18:38:30 EDT 2008
http://bugzilla.icculus.org/show_bug.cgi?id=3610
Summary: Server sending unnecessary newline with SV_ConSay_F
Product: Quake 3
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: Platform
AssignedTo: zakk at icculus.org
ReportedBy: TylerSchwend at gmail.com
QAContact: quake3-bugzilla at icculus.org
When sending text chats from the console, the server is appending a \n to the
end of the chat. Before echoing the message on the client side, the client also
appends a \n. The result is wasted space and an unnecessarily flooded chat
window. Formatting (by appending a mandatory \n) should be done on the client
side. The following diff removes the \n being sent from the server side:
slipgate:~/svn/ioquake3/code/server# diff sv_ccmds.c sv_ccmds.c.orig
969c969
< SV_SendServerCommand(NULL, "chat \"%s\"", text);
---
> SV_SendServerCommand(NULL, "chat \"%s\n\"", text);
--
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the quake3-bugzilla
mailing list