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>1998-05-14 12:06:00 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-05-14 12:06:00 -0400
commitd2bc002de2501d28459b43ced36eaaaa001b59c4 (patch)
tree7f2289a2ad9120dcf4b8c592dd1cb6ff1212d4d9 /WWW/Library/Implementation/HTFile.c
parent116ac6932821c4a82256313792b26ab28259e8f0 (diff)
downloadlynx-snapshots-d2bc002de2501d28459b43ced36eaaaa001b59c4.tar.gz
snapshot of project "lynx", label v2-8-1dev_11
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r--WWW/Library/Implementation/HTFile.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c
index c809ff63..e4548616 100644
--- a/WWW/Library/Implementation/HTFile.c
+++ b/WWW/Library/Implementation/HTFile.c
@@ -1107,8 +1107,9 @@ PUBLIC BOOL HTEditable ARGS1(
 	fprintf(tfp,
 	    "File mode is 0%o, uid=%d, gid=%d. My uid=%d, %d groups (",
 	    (unsigned int) fileStatus.st_mode, fileStatus.st_uid,
-	    fileStatus.st_gid,
-	    myUid, ngroups);
+	    (int) fileStatus.st_gid,
+	    (int) myUid,
+	    (int) ngroups);
 	for (i2 = 0; i2 < ngroups; i2++)
 	    fprintf(tfp, " %d", groups[i2]);
 	fprintf(tfp, ")\n");
@@ -1753,7 +1754,7 @@ PUBLIC int HTLoadFile ARGS4(
 	if ((strlen(localname) > strlen(MULTI_SUFFIX)) &&
 	    (0 == strcmp(localname + strlen(localname) - strlen(MULTI_SUFFIX),
 			 MULTI_SUFFIX))) {
-	    DIR *dp;
+	    DIR *dp = 0;
 	    BOOL forget_multi = NO;
 
 	    STRUCT_DIRENT * dirbuf;