From d2bc002de2501d28459b43ced36eaaaa001b59c4 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 14 May 1998 12:06:00 -0400 Subject: snapshot of project "lynx", label v2-8-1dev_11 --- WWW/Library/Implementation/HTFile.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'WWW/Library/Implementation/HTFile.c') 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; -- cgit 1.4.1-2-gfad0