Skip to content
Snippets Groups Projects
Commit c9426344 authored by rswindell's avatar rswindell
Browse files

Changed use of _rmdir() to rmdir().

parent 21fe21df
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@
#ifdef _WIN32
#include <share.h> /* SH_DENYNO */
#include <direct.h> /* _mkdir/_rmdir() */
#include <direct.h> /* _mkdir/rmdir() */
#include <process.h> /* _beginthread */
#include <windows.h> /* required for mmsystem.h */
#include <mmsystem.h> /* SND_ASYNC */
......@@ -2999,7 +2999,7 @@ static void ctrl_thread(void* arg)
else /* relative */
sprintf(fname,"%s%s",local_dir,p);
if((i=_rmdir(fname))==0) {
if((i=rmdir(fname))==0) {
sockprintf(sock,"250 \"%s\" directory removed",fname);
lprintf("%04d %s removed directory: %s",sock,user.alias,fname);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment