mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
Minor bug fix.
This commit is contained in:
parent
d82df89441
commit
b844272610
@ -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.
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user