From 1c1dcf2f12547d817f20b366dcd185233f421971 Mon Sep 17 00:00:00 2001 From: "michaelp%netscape.com" Date: Tue, 2 Feb 1999 19:26:42 +0000 Subject: [PATCH] kill related links and single signon (for now). git-svn-id: svn://10.0.0.236/trunk@19358 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/network/module/net.def | 1 - mozilla/network/module/nsNetStubs.cpp | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mozilla/network/module/net.def b/mozilla/network/module/net.def index b2776b20b00..6705f2c2537 100644 --- a/mozilla/network/module/net.def +++ b/mozilla/network/module/net.def @@ -19,5 +19,4 @@ EXPORTS NS_NewINetService NET_ToggleTrace NET_PollSockets - NS_NewRelatedLinks NET_RegisterContentTypeConverter diff --git a/mozilla/network/module/nsNetStubs.cpp b/mozilla/network/module/nsNetStubs.cpp index db3ce40aef3..75226444204 100644 --- a/mozilla/network/module/nsNetStubs.cpp +++ b/mozilla/network/module/nsNetStubs.cpp @@ -931,8 +931,10 @@ char *xpFileTypeToName(XP_FileType type) { return PL_strdup("%USER%%COOKIE_F%"); case (xpHTTPCookiePermission): return PL_strdup("%USER%%COOKIE_PERMISSION_F%"); +#ifdef SingleSignon case (xpHTTPSingleSignon): return PL_strdup("%USER%%SIGNON_F%"); +#endif default: break; @@ -1081,7 +1083,9 @@ NET_InitFilesAndDirs(void) { // Setup files. fileMgr->SetFileAssoc(COOKIE_FILE_TOK, COOKIE_FILE, USER_DIR_TOK); fileMgr->SetFileAssoc(COOKIE_PERMISSION_FILE_TOK, COOKIE_PERMISSION_FILE, USER_DIR_TOK); +#ifdef SingleSignon fileMgr->SetFileAssoc(SIGNON_FILE_TOK, SIGNON_FILE, USER_DIR_TOK); +#endif fileMgr->SetFileAssoc(CACHE_DB_F_TOK, CACHE_DB_FILE, CACHE_DIR_TOK); return TRUE; } @@ -1466,7 +1470,9 @@ XP_FileOpen(const char * name, XP_FileType type, const XP_FilePerm perm) case xpFileToPost: case xpHTTPCookie: case xpHTTPCookiePermission: +#ifdef SingleSignon case xpHTTPSingleSignon: +#endif { XP_File fp; char* newName = WH_FileName(name, type);