return 0;
return 1;
int sftp_cmd_cd(struct sftp_command *cmd){    struct fxp_handle *dirh;    char *dir;    if (back == NULL) {	printf("psftp: not connected to a host; use \"open host.name\"\n");	return 0;    }    if (cmd->nwords < 2)	dir = dupstr(homedir);    else	dir = canonify(cmd->words[1]);    if (!dir) {	printf("%s: %s\n", dir, fxp_error());	return 0;    }    dirh = fxp_opendir(dir);    if (!dirh) {	printf("Directory %s: %s\n", dir, fxp_error());	sfree(dir);	return 0;    }    fxp_close(dirh);    sfree(pwd);    pwd = dir;    printf("Remote directory is now %s\n", pwd);    return 0;}