diff -urN thttpd-2.21-14/vhost.c thttpd-2.21-15/vhost.c --- thttpd-2.21-14/vhost.c Mon Dec 3 15:43:30 2001 +++ thttpd-2.21-15/vhost.c Sat Dec 15 16:28:17 2001 @@ -154,7 +154,12 @@ tmp[*n].days[j].fsizes[i]=0; } close(fd); - } + } else + { + tmp[*n].days[j].banner[i]=(char *) (1); + tmp[*n].days[j].fsizes[i]=0; + + } ; snprintf(fname,255,"%s/%s/%d/%dbanner_under.html", BANNER_BASE, tmp[*n].name,j,i+1); fd=open(fname,O_RDONLY); if (fd>0) @@ -172,7 +177,13 @@ tmp[*n].days[j].fsizes_und[i]=0; } close(fd); - } + } else + { + tmp[*n].days[j].banner_under[i]=(char *) (1); + tmp[*n].days[j].fsizes_und[i]=0; + + } ; + }