From 33c6d50e3cf52e61140c6e41c1c822e3b9aa4c95 Mon Sep 17 00:00:00 2001 From: Zach Langley Date: Sat, 8 Nov 2014 08:38:20 -0800 Subject: [PATCH] Fix more warnings. --- src/dg_comm.c | 4 ++-- src/protocol.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/dg_comm.c b/src/dg_comm.c index b89590d..fb86692 100644 --- a/src/dg_comm.c +++ b/src/dg_comm.c @@ -102,7 +102,7 @@ static void sub_write_to_char(char_data *ch, char *tokens[], void *otokens[], ch strcat(sb,HMHR((char_data *) otokens[i])); break; - case '¨': + case '`': if (!otokens[i]) strcat(sb,"something"); else @@ -149,7 +149,7 @@ void sub_write(char *arg, char_data *ch, byte find_invis, int targets) tokens[++i] = ++s; break; - case '¨': + case '`': /* get obj_data, move to next token */ type[i] = *p; *s = '\0'; diff --git a/src/protocol.c b/src/protocol.c index 05f3345..16a0271 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -194,7 +194,7 @@ static variable_name_t VariableNameTable[eMSDP_MAX+1] = { eMSDP_GAUGE_4, "GAUGE_4", STRING_GUI(s_Gauge4) }, { eMSDP_GAUGE_5, "GAUGE_5", STRING_GUI(s_Gauge5) }, - { eMSDP_MAX, "", 0 } /* This must always be last. */ + { eMSDP_MAX, "", false, false, false, false, 0, 0, 0, NULL } /* This must always be last. */ }; /****************************************************************************** @@ -2256,12 +2256,12 @@ static void SendMSSP( descriptor_t *apDescriptor ) static MSSP_t MSSPTable[] = { /* Required */ - { "NAME", MUD_NAME }, /* Change this in protocol.h */ + { "NAME", MUD_NAME, NULL }, /* Change this in protocol.h */ { "PLAYERS", FUNCTION_CALL( GetMSSP_Players ) }, { "UPTIME" , FUNCTION_CALL( GetMSSP_Uptime ) }, /* Generic */ - { "CRAWL DELAY", "-1" }, + { "CRAWL DELAY", "-1", NULL }, /* { "HOSTNAME", "" }, { "PORT", "" }, @@ -2359,7 +2359,7 @@ static void SendMSSP( descriptor_t *apDescriptor ) { "SSL", "0" }, { "ZMP", "0" }, */ - { NULL, NULL } /* This must always be last. */ + { NULL, NULL, NULL } /* This must always be last. */ }; /* Begin the subnegotiation sequence */