about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTFile.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2004-07-01 00:09:10 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2004-07-01 00:09:10 -0400
commitceb4156db8546c98875607dd91a799101b02c22f (patch)
tree23470c5e32d7f12c3346806358dcb2503d2ce282 /WWW/Library/Implementation/HTFile.c
parent06cddc6badf9b4a4791361cfbeffc5b1e2d2d6a6 (diff)
downloadlynx-snapshots-ceb4156db8546c98875607dd91a799101b02c22f.tar.gz
snapshot of project "lynx", label v2-8-6dev_5
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r--WWW/Library/Implementation/HTFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c
index bc2859f5..e5f6d77d 100644
--- a/WWW/Library/Implementation/HTFile.c
+++ b/WWW/Library/Implementation/HTFile.c
@@ -669,7 +669,7 @@ char *HTnameOfFile_WWW(const char *name,
     char *acc_method = HTParse(name, "", PARSE_ACCESS);
     char *host = HTParse(name, "", PARSE_HOST);
     char *path = HTParse(name, "", PARSE_PATH + PARSE_PUNCTUATION);
-    char *home;
+    const char *home;
     char *result = NULL;
 
     if (expand_all) {
@@ -697,7 +697,7 @@ char *HTnameOfFile_WWW(const char *name,
 	    home = HTVMS_wwwName(home);
 #else
 #if defined(_WINDOWS)		/* 1997/10/16 (Thu) 20:42:51 */
-	home = (char *) Home_Dir();
+	home = Home_Dir();
 #else
 	home = LYGetEnv("HOME");
 #endif