* ftpfs.c (ftpfs_get_current_directory): Warning fix - "missing

sentinel in function call".
This commit is contained in:
Pavel Roskin 2005-06-21 19:40:36 +00:00
parent 62d358bdc1
commit 878175bec9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-05-20 Pavel Roskin <proski@gnu.org>
* ftpfs.c (ftpfs_get_current_directory): Warning fix - "missing
sentinel in function call".
2005-06-08 Roland Illig <roland.illig@gmx.de>
* smbfs.c (free_after): Moved here from src/util.h.

View File

@ -841,7 +841,7 @@ ftpfs_get_current_directory (struct vfs_class *me, struct vfs_s_super *super)
/* If the remote server is an Amiga a leading slash
might be missing. MC needs it because it is used
as separator between hostname and path internally. */
return g_strconcat( "/", bufp, 0);
return g_strconcat( "/", bufp, NULL);
}
} else {
ftpfs_errno = EIO;