version 1.3, 2007/10/18 18:53:59 |
version 1.4, 2008/03/03 22:15:09 |
|
|
/* $NetBSD$ */ |
/* $NetBSD$ */ |
|
|
/* $eterna: dir-index-bozo.c,v 1.7 2006/05/17 08:18:44 mrg Exp $ */ |
/* $eterna: dir-index-bozo.c,v 1.10 2008/03/03 03:36:11 mrg Exp $ */ |
|
|
/* |
/* |
* Copyright (c) 1997-2006 Matthew R. Green |
* Copyright (c) 1997-2008 Matthew R. Green |
* All rights reserved. |
* All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
Line 70 directory_index(http_req *request, const |
|
Line 70 directory_index(http_req *request, const |
|
char spacebuf[48]; |
char spacebuf[48]; |
int l, i; |
int l, i; |
|
|
dp = NULL; /* XXX */ |
|
|
|
if (!isindex || !Xflag) |
if (!isindex || !Xflag) |
return 0; |
return 0; |
|
|
Line 181 directory_index(http_req *request, const |
|
Line 179 directory_index(http_req *request, const |
|
closedir(dp); |
closedir(dp); |
bozoprintf("</pre>"); |
bozoprintf("</pre>"); |
directory_hr(); |
directory_hr(); |
bozoprintf("</body></html>\r\n"); |
bozoprintf("</body></html>\r\n\r\n"); |
bozoflush(stdout); |
bozoflush(stdout); |
|
|
return 1; |
return 1; |