if (!*str) {
failure:
reject_call(MR_ARGS);
- return;
+ return(0);
}
file_size = atoi(str);
while (isdigit(*str))
pathname = str;
if (!have_authorization) {
reject_call(MR_PERM);
- return;
+ return(0);
}
if (done) /* re-initialize data */
initialize();
code = send_ok();
if (code)
lose("sending ok for file xfer (2)");
- code = get_file(pathname, file_size, checksum);
+ code = get_file(pathname, file_size, checksum, 0700, 0);
if (!code) {
char buf[BUFSIZ];
have_file = 1;
strcat(buf, pathname);
mr_log_info(buf);
}
- return;
+ return(0);
}