diff --git a/vfs/ftpfs.c b/vfs/ftpfs.c index e0716c33b..dae118514 100644 --- a/vfs/ftpfs.c +++ b/vfs/ftpfs.c @@ -2571,10 +2571,10 @@ void ftpfs_forget (char *file) #ifndef BROKEN_PATHS if (strncmp (file, "/#ftp:", 6)) - return NULL; /* Normal: consider cd /bla/#ftp */ + return; /* Normal: consider cd /bla/#ftp */ #else if (!(file = strstr (file, "/#ftp:"))) - return NULL; + return; #endif file += 6;