summaryrefslogtreecommitdiff
path: root/source/mvd_client.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-01-04 22:45:32 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-01-04 22:45:32 +0000
commitcfed1adf2730a07f31ccb7644f274ead21c31879 (patch)
treea24638d36c785264178203801f6945fec2ef5a9c /source/mvd_client.c
parent0f73c3d00f54ed960cf01d0cfe30734cda26586c (diff)
Updated revision to 177.
Updated minor MVD protocol version to 2010. Do not wrap bprintf messages into mvd_multicast, use mvd_print instead. Locked `sv_mvd_wait' variable until things are sorted out.
Diffstat (limited to 'source/mvd_client.c')
-rw-r--r--source/mvd_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/mvd_client.c b/source/mvd_client.c
index a47f6a8..4d6cfcd 100644
--- a/source/mvd_client.c
+++ b/source/mvd_client.c
@@ -223,7 +223,7 @@ static void MVD_EmitGamestate( mvd_t *mvd ) {
// send the serverdata
MSG_WriteByte( mvd_serverdata );
MSG_WriteLong( PROTOCOL_VERSION_MVD );
- MSG_WriteShort( PROTOCOL_VERSION_MVD_MINOR );
+ MSG_WriteShort( PROTOCOL_VERSION_MVD_CURRENT );
MSG_WriteLong( mvd->servercount );
MSG_WriteString( mvd->gamedir );
MSG_WriteShort( mvd->clientNum );
@@ -933,7 +933,7 @@ MVD_Connect_f
void MVD_Connect_f( void ) {
static const cmd_option_t options[] = {
{ "h", "help", "display this message" },
- { "e:number", "encoding", "assume encoding identified by <number>" },
+ { "e:string", "encoding", "specify default encoding as <string>" },
{ "i:number", "id", "specify remote stream ID as <number>" },
{ "n:string", "name", "specify channel name as <string>" },
{ "r:string", "referer", "specify referer as <string> in HTTP request" },