From 6a989837298ceea93efc2912df00ccf6fdfa84ce Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Fri, 7 Mar 2008 16:32:33 +0000 Subject: Network code cleanup. Fixed port endianess bug in MVD_Connect_f. --- source/mvd_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/mvd_client.c') diff --git a/source/mvd_client.c b/source/mvd_client.c index a6b199f..592d235 100644 --- a/source/mvd_client.c +++ b/source/mvd_client.c @@ -1050,10 +1050,10 @@ void MVD_Connect_f( void ) { if( p ) { *p = 0; strcpy( resource, p + 1 ); - port = BigShort( 80 ); + port = 80; } else { Q_concat( resource, sizeof( resource ), "mvdstream/", id, NULL ); - port = BigShort( PORT_SERVER ); + port = PORT_SERVER; } // resolve hostname -- cgit v1.2.3