result = fxp_rmdir_recv(pktin);
result = fxp_rmdir_recv(pktin, rreq);
int sftp_cmd_rmdir(struct sftp_command *cmd){    char *dir;    struct sftp_packet *pktin;    struct sftp_request *req, *rreq;    int result;    if (back == NULL) {	printf("psftp: not connected to a host; use \"open host.name\"\n");	return 0;    }    if (cmd->nwords < 2) {	printf("rmdir: expects a directory\n");	return 0;    }    dir = canonify(cmd->words[1]);    if (!dir) {	printf("%s: %s\n", dir, fxp_error());	return 0;    }    sftp_register(req = fxp_rmdir_send(dir));    rreq = sftp_find_request(pktin = sftp_recv());    assert(rreq == req);    result = fxp_rmdir_recv(pktin);    if (!result) {	printf("rmdir %s: %s\n", dir, fxp_error());	sfree(dir);	return 0;    }    sfree(dir);    return 1;}