int a, b;
FILE *fp, *lsfp;
int r;
+ int rv;
if ((room_flags & QR_UPLOAD) == 0) {
scr_printf("*** You cannot upload to this room.\n");
/* now do the transfer ... in a separate process */
xfer_pid = fork();
if (xfer_pid == 0) {
- chdir(tempdir);
+ rv = chdir(tempdir);
switch (c) {
case 0:
stty_ctdl(0);
err_printf("%s\n", buf);
}
-/*
- * <.A>ide <F>ile <S>end command
- */
-void netsendfile(CtdlIPC *ipc)
-{
- char filename[32], destsys[20], buf[256];
-
- newprompt("Filename: ", filename, 31);
- if (IsEmptyStr(filename))
- return;
- newprompt("System to send to: ", destsys, 19);
- CtdlIPCNetSendFile(ipc, filename, destsys, buf);
- err_printf("%s\n", buf);
- return;
-}
/*
* <.A>ide <F>ile <M>ove command