return with value from a function returning void

This commit is contained in:
Pavel Roskin 1998-06-10 14:57:19 +00:00
parent a7a330d75d
commit def36dfcfe
1 changed files with 2 additions and 2 deletions

View File

@ -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;