return cmds[i].f (subcmd, argc, argv);
}
- reply_with_error ("use 'debug help' to list the supported commands");
+ reply_with_error ("use 'debug help 0' to list the supported commands");
return NULL;
}
}
if (close (fd) == -1) {
- int err = errno;
- if (r == -1) /* if r == 0, file transfer ended already */
- cancel_receive ();
- errno = err;
reply_with_perror ("close: %s", filename);
return -1;
}