diff options
Diffstat (limited to 'ftpfs')
-rw-r--r-- | ftpfs/ChangeLog | 4 | ||||
-rw-r--r-- | ftpfs/dir.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ftpfs/ChangeLog b/ftpfs/ChangeLog index a339fec7..416bd9b7 100644 --- a/ftpfs/ChangeLog +++ b/ftpfs/ChangeLog @@ -1,3 +1,7 @@ +2001-01-07 Marcus Brinkmann <marcus@gnu.org> + + * dir.c (ftpfs_dir_create): Fix last change (calloc invocation). + 2000-12-21 Marcus Brinkmann <marcus@gnu.org> * dir.c (ftpfs_dir_create): New macro INIT_HTABLE_LEN to diff --git a/ftpfs/dir.c b/ftpfs/dir.c index 462567f6..9e550ce8 100644 --- a/ftpfs/dir.c +++ b/ftpfs/dir.c @@ -818,7 +818,7 @@ ftpfs_dir_create (struct ftpfs *fs, struct node *node, const char *rmt_path, { struct ftpfs_dir *new = malloc (sizeof (struct ftpfs_dir)); struct ftpfs_dir_entry **htable - = calloc (INIT_HTABLE_LEN * sizeof (struct ftpfs_dir_entry *)); + = calloc (INIT_HTABLE_LEN, sizeof (struct ftpfs_dir_entry *)); if (!new || !htable) { |