Minor bug fix.

This commit is contained in:
Pavel Machek 1998-09-23 11:37:29 +00:00
parent d82df89441
commit b844272610
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Sep 23 13:33:14 1998 Pavel Machek <pavel@ucw.cz>
* ftpfs.c: Fixed segfault caused by unitialized varialble
Wed Sep 23 11:51:12 1998 Pavel Roskin <pavel_roskin@geocities.com) Wed Sep 23 11:51:12 1998 Pavel Roskin <pavel_roskin@geocities.com)
* ftpfs.c: Special characters were printed via print_vfs_message. * ftpfs.c: Special characters were printed via print_vfs_message.

View File

@ -1212,6 +1212,7 @@ retrieve_dir(struct connection *bucket, char *remote_path, int resolve_symlinks)
fe = xmalloc(sizeof(struct direntry), "struct direntry"); fe = xmalloc(sizeof(struct direntry), "struct direntry");
fe->freshly_created = 0; fe->freshly_created = 0;
fe->tmp_reget = 0; fe->tmp_reget = 0;
fe->local_filename = NULL;
if (fe == NULL) { if (fe == NULL) {
my_errno = ENOMEM; my_errno = ENOMEM;
goto error_1; goto error_1;