*ProtoParm -> *ProtoParam

This commit is contained in:
Fafabis committed 2021-05-05 23:41:49 -03:00
1 parent bff1f57423
commit 994dfa91f2
4 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -1508,9 +1508,9 @@ void D_SRB2Main(void)
}
#ifdef HAVE_CURL
if (M_CheckProtoParm("replay"))
if (M_CheckProtoParam("replay"))
{
const char *replayurl = M_GetProtoParm();
const char *replayurl = M_GetProtoParam();
char *replayname = strrchr(replayurl, '/');
if (!replayurl || !replayurl)
+2 -2
View File
@@ -1564,9 +1564,9 @@ boolean I_InitTcpNetwork(void)
hardware_MAXPACKETLENGTH = MAXPACKETLENGTH;
}
}
if (M_CheckProtoParm("ip"))
if (M_CheckProtoParam("ip"))
{
strcpy(serverhostname, M_GetProtoParm());
strcpy(serverhostname, M_GetProtoParam());
// server address only in ip
if (serverhostname[0])
+2 -2
View File
@@ -63,7 +63,7 @@ INT32 M_CheckParm(const char *check)
\return number (1 to argc-1) or 0 if not present
*/
INT32 M_CheckProtoParm(const char *check)
INT32 M_CheckProtoParam(const char *check)
{
INT32 i;
@@ -86,7 +86,7 @@ INT32 M_CheckProtoParm(const char *check)
*
\return string after protocol parameter or NULL if not found
*/
const char *M_GetProtoParm(void)
const char *M_GetProtoParam(void)
{
INT32 i;
static char *string;
+2 -2
View File
@@ -25,10 +25,10 @@ extern boolean myargmalloc;
INT32 M_CheckParm(const char *check);
// Check params for srb2kart:// protocol
INT32 M_CheckProtoParm(const char *check);
INT32 M_CheckProtoParam(const char *check);
// Gets the string after srb2kart://
const char *M_GetProtoParm(void);
const char *M_GetProtoParam(void);
// Pushes all parameters beginning with a +, ex: +map map01
void M_PushSpecialParameters(void);