diff --git a/src/sbbs3/ftpsrvr.c b/src/sbbs3/ftpsrvr.c index 6910ba71b885861b64a9f4e3d3ecfd53257291eb..16923ad59da38babb086dd1a7cfe7a9b3ab5eace 100644 --- a/src/sbbs3/ftpsrvr.c +++ b/src/sbbs3/ftpsrvr.c @@ -2956,7 +2956,7 @@ static void ctrl_thread(void* arg) if(!stricmp(cmd,"CDUP") || !stricmp(cmd,"XCUP")) { sprintf(path,"%s..",local_dir); - if(_fullpath(local_dir,path,sizeof(local_dir))==NULL) + if(FULLPATH(local_dir,path,sizeof(local_dir))==NULL) sockprintf(sock,"550 Directory does not exist."); else sockprintf(sock,"200 CDUP command successful."); diff --git a/src/sbbs3/qwknodes.c b/src/sbbs3/qwknodes.c index 146bd31c52823540dcaae18fa97b866e3b6f0ea0..5e7c0784ae111829f1eece10587ac2299dc8300a 100644 --- a/src/sbbs3/qwknodes.c +++ b/src/sbbs3/qwknodes.c @@ -407,7 +407,7 @@ read_node_cfg(&cfg,txt); if(ctrl_dir[0]=='.') { /* Relative path */ strcpy(str,ctrl_dir); sprintf(ctrl_dir,"%s%s",node_dir,str); - if(_fullpath(str,ctrl_dir,40)) + if(FULLPATH(str,ctrl_dir,40)) strcpy(ctrl_dir,str); } backslash(ctrl_dir); @@ -415,7 +415,7 @@ read_main_cfg(&cfg,txt); if(data_dir[0]=='.') { /* Relative path */ strcpy(str,data_dir); sprintf(data_dir,"%s%s",node_dir,str); - if(_fullpath(str,data_dir,40)) + if(FULLPATH(str,data_dir,40)) strcpy(data_dir,str); } backslash(data_dir); read_msgs_cfg(txt); diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c index 4597c2bd5b6187e0df957242afb959d5db796740..0a9edb1a9b3b435f0afad3564ebc37b151e3c444 100644 --- a/src/sbbs3/sbbsecho.c +++ b/src/sbbs3/sbbsecho.c @@ -272,7 +272,7 @@ for(i=j=0;i<len && j<128;i++) { if(cfg->temp_dir[0]!='\\' && cfg->temp_dir[1]!=':') { strcpy(str,cfg->node_dir); strcat(str,cfg->temp_dir); - if(_fullpath(str2,str,40)) + if(FULLPATH(str2,str,40)) strcpy(str,str2); backslash(str); strcat(cmd,str);} @@ -283,7 +283,7 @@ for(i=j=0;i<len && j<128;i++) { if(cfg->data_dir[0]!='\\' && cfg->data_dir[1]!=':') { strcpy(str,cfg->node_dir); strcat(str,cfg->data_dir); - if(_fullpath(str2,str,40)) + if(FULLPATH(str2,str,40)) strcpy(str,str2); backslash(str); strcat(cmd,str); } @@ -294,7 +294,7 @@ for(i=j=0;i<len && j<128;i++) { if(cfg->ctrl_dir[0]!='\\' && cfg->ctrl_dir[1]!=':') { strcpy(str,cfg->node_dir); strcat(str,cfg->ctrl_dir); - if(_fullpath(str2,str,40)) + if(FULLPATH(str2,str,40)) strcpy(str,str2); backslash(str); strcat(cmd,str); } @@ -317,7 +317,7 @@ for(i=j=0;i<len && j<128;i++) { if(cfg->exec_dir[0]!='\\' && cfg->exec_dir[1]!=':') { strcpy(str,cfg->node_dir); strcat(str,cfg->exec_dir); - if(_fullpath(str2,str,40)) + if(FULLPATH(str2,str,40)) strcpy(str,str2); backslash(str); strcat(cmd,str); }