X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Ffile_ops.c;h=3f2c6c36df6807d83782df7edb0bafe4fd1cf781;hb=ffe458c7fb6342ac60522b9750b2ba677bc4a0a8;hp=436ff717e5760050b82a7e1e96f35d5df87c8f96;hpb=8b88eeca49c50c4b5519b3a2861aae59cd089d73;p=citadel.git diff --git a/citadel/file_ops.c b/citadel/file_ops.c index 436ff717e..3f2c6c36d 100644 --- a/citadel/file_ops.c +++ b/citadel/file_ops.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include "citadel.h" #include "server.h" @@ -67,7 +68,6 @@ void cmd_movf(char *cmdbuf) char newroom[256]; char buf[256]; int a; - int target_room = (-1); struct quickroom qrbuf; extract(filename,cmdbuf,0); @@ -104,16 +104,11 @@ void cmd_movf(char *cmdbuf) return; } - for (a=0; acurr_rm); + assoc_file_name(pathname, &CC->quickroom, "images"); } else { for (a=0; aupl_path, "./images/room.%d.gif", CC->curr_rm); + assoc_file_name(CC->upl_path, &CC->quickroom, "images"); } if (strlen(CC->upl_path) == 0) {