Commit 34e2e025 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: ChangeLog:1.330
parent 6d37a1d4
2001-04-01 Niels Mller <>
* src/sftp/ (sftp_server_SOURCES,
sftp_test_client_SOURCES): Added xmalloc.c.
* src/sftp/xmalloc.c: New file. Defines xmalloc, xrealloc and
* src/sftp/sftp-test-client.c (do_put): Use xmalloc.
* src/sftp/sftp-server.c (sftp_get_user): New function.
(sftp_get_group): Likewise.
(struct sftp_ctx): Added user_cache and group_cache.
(sftp_init): Initialize user_cache and group_cache.
(sftp_put_longname): Take a sftp_ctx * as argument. Use
sftp_get_user and sftp_get_group.
* src/sftp/buffer.c: Use xmalloc and xrealloc.
* src/sftp/idcache.c: Rewrite.
* src/sftp/ (sftp_server_SOURCES): Added idcache.c.
* src/sftp/sftp-server.c: Use the functions from idcache.c.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment