diff options
Diffstat (limited to 'form.c')
-rw-r--r-- | form.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); |