aboutsummaryrefslogtreecommitdiffstats
path: root/form.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--form.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/form.c b/form.c
index 9d50f7a..623e928 100644
--- a/form.c
+++ b/form.c
@@ -1,4 +1,4 @@
-/* $Id: form.c,v 1.11 2001/12/27 18:22:59 ukai Exp $ */
+/* $Id: form.c,v 1.12 2002/02/04 15:18:42 ukai Exp $ */
/*
* HTML forms
*/
@@ -635,10 +635,10 @@ form_write_from_file(FILE * f, char *boundary, char *name, char *filename,
fprintf(f, "Content-Type: %s\r\n\r\n",
type ? type : "application/octet-stream");
-#ifdef HAVE_READLINK /* readline == lstat ? (ukai) */
+#ifdef HAVE_LSTAT
if (lstat(file, &st) < 0)
goto write_end;
-#endif /* HAVE_READLINK */
+#endif /* HAVE_LSTAT */
if (S_ISDIR(st.st_mode))
goto write_end;
fd = fopen(file, "r");