Commit ab157c66 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Address new warnings/errors by get_ctrl_dir() and sbbs_get_ini_fname() changes

parent d4b5eea9
......@@ -1146,7 +1146,7 @@ static int start(const char* svc_name, int argc, char** argv)
/****************************************************************************/
int main(int argc, char** argv)
{
char* ctrl_dir;
const char* ctrl_dir;
char* arg;
char* p;
char str[MAX_PATH+1];
......@@ -1171,7 +1171,7 @@ int main(int argc, char** argv)
ctrl_dir = get_ctrl_dir(/* warn: */TRUE);
sbbs_get_ini_fname(ini_file, ctrl_dir, NULL /* auto-host_name */);
sbbs_get_ini_fname(ini_file, ctrl_dir);
/* Initialize BBS startup structure */
memset(&bbs_startup,0,sizeof(bbs_startup));
......
......@@ -157,7 +157,7 @@ int main(int argc, char **argv)
{
FILE *text_dat;
char path[MAX_PATH+1];
char *p;
const char *p;
char *cstr;
char *comment;
char *macro;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment