diff --git a/vfs/ChangeLog b/vfs/ChangeLog index f87585803..c349f6b85 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,8 @@ +2002-09-24 Andrew V. Samoilov + + * smbfs.c: Undef USE_NCURSES - no needs to include *curces.h. + (smbfs_loaddir): Fix warning. + 2002-09-21 Pavel Roskin * mcfs.c: Move config.h to the beginning. diff --git a/vfs/smbfs.c b/vfs/smbfs.c index 4974ca25c..eff2c4a21 100644 --- a/vfs/smbfs.c +++ b/vfs/smbfs.c @@ -24,7 +24,7 @@ #include #include #include - +#undef USE_NCURSES /* Don't include *curses.h */ #include "utilvfs.h" #undef PACKAGE_BUGREPORT @@ -649,7 +649,7 @@ chkpath(struct cli_state *cli, char *path, BOOL send_only) return True; } -/* #if 0 */ +#if 1 static int fs (const char *text) { @@ -664,7 +664,7 @@ fs (const char *text) return strlen(text); return count; } -/* #endif */ +#endif static int smbfs_loaddir (opendir_info *smbfs_info) @@ -692,7 +692,7 @@ smbfs_loaddir (opendir_info *smbfs_info) DEBUG(6, ("smbfs_loaddir: browsing %s\n", IPC)); /* browse for servers */ if (!cli_NetServerEnum(smbfs_info->conn->cli, smbfs_info->conn->domain, - SV_TYPE_ALL, server_browsing_helper, NULL), NULL) + SV_TYPE_ALL, server_browsing_helper, NULL)) return 0; else current_server_info = smbfs_info;