{
(void) getit(argc, argv, 1, "r+w");
}
{
(void) getit(argc, argv, 1, "r+w");
}
{
(void) getit(argc, argv, 0, restart_point ? "r+w" : "w" );
}
{
(void) getit(argc, argv, 0, restart_point ? "r+w" : "w" );
}
-int getit(argc, argv, restartit, mode)
- const char *argv[];
- const char *mode;
+int getit(int argc, const char *argv[], int restartit, const char *mode)
* is sent almost verbatim to the remote machine, the
* first argument is changed to SITE.
*/
* is sent almost verbatim to the remote machine, the
* first argument is changed to SITE.
*/
* Can't control multiple values being expanded
* from the expression, we return only the first.
*/
* Can't control multiple values being expanded
* from the expression, we return only the first.
*/
{
passivemode = !passivemode;
printf("Passive mode %s.\n", onoff(passivemode));
{
passivemode = !passivemode;
printf("Passive mode %s.\n", onoff(passivemode));
{
if (getit(argc, argv, -1, "w")) {
printf("Local file \"%s\" is newer than remote file \"%s\"\n",
{
if (getit(argc, argv, -1, "w")) {
printf("Local file \"%s\" is newer than remote file \"%s\"\n",