version 1.18.2.4, 2002/06/26 18:22:35 |
version 1.18.2.5, 2002/10/11 14:53:07 |
|
|
} |
} |
|
|
int |
int |
do_ls(struct sftp_conn *conn, char *path) |
|
{ |
|
return(do_lsreaddir(conn, path, 1, NULL)); |
|
} |
|
|
|
int |
|
do_readdir(struct sftp_conn *conn, char *path, SFTP_DIRENT ***dir) |
do_readdir(struct sftp_conn *conn, char *path, SFTP_DIRENT ***dir) |
{ |
{ |
return(do_lsreaddir(conn, path, 0, dir)); |
return(do_lsreaddir(conn, path, 0, dir)); |
|
|
debug3("In write loop, ack for %u %u bytes at %llu", |
debug3("In write loop, ack for %u %u bytes at %llu", |
ack->id, ack->len, (unsigned long long)ack->offset); |
ack->id, ack->len, (unsigned long long)ack->offset); |
++ackid; |
++ackid; |
free(ack); |
xfree(ack); |
} |
} |
offset += len; |
offset += len; |
} |
} |